...
Code Block | ||
---|---|---|
| ||
docker pull public.ecr.aws/n2x4v8j4/firstwave/nmis9_omk:v1.0 |
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 | ||
---|---|---|
| ||
mkdir -p app_conf |
Start the container:
Code Block | ||
---|---|---|
| ||
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 |
Verify deployment:
Code Block | ||
---|---|---|
| ||
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
Pull the NMIS image:
...