Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagebash
docker pull public.ecr.aws/n2x4v8j4/firstwave/nmis9_omk:v1.0
  1. Create required directories and files (if intending to mount your own configs in place - or pull the deulats from the container and have them persist on your host):

Code Block
languagebash
mkdir -p app_conf
  1. Start the container:

Code Block
languagebash
docker run -d \
  --name nmis9 \
  -e NMIS_DB_USERNAME=root \
  -e NMIS_DB_PASSWORD=example \
  -e NMIS_DB_SERVER=mongodb.example.com \
  -e NMIS_SERVER_NAME=example-host-1 \
  -e NMIS_CLUSTER_ID=660f29ae-f150-4119-bf04-cd9296852449 \
  -v $(pwd)/app_conf/Config.nmis:/usr/local/nmis9/conf/Config.nmis \
  -v $(pwd)/app_conf/opCommon.json:/usr/local/omk/conf/opCommon.json \
  -v $(pwd)/app_conf/opLicense.json:/usr/local/omk/conf/opLicense.json \
  -p 8080:8080 \
  -p 8042:8042 \
  nmis9:latest
  1. Verify deployment:

Code Block
languagebash
docker ps | grep nmis9
docker logs nmis9

...

Please refer to the section ‘Persisting configs’ below if you wish to take and use the default configs from the container or use mount in your own

  1. Pull the NMIS image:

...