docker stack commands
This commit is contained in:
@@ -2,7 +2,7 @@ version: '3.1'
|
||||
|
||||
services:
|
||||
|
||||
my-mongo:
|
||||
my_mongo:
|
||||
image: my-mongo
|
||||
restart: always
|
||||
ports:
|
||||
@@ -13,7 +13,7 @@ services:
|
||||
volumes:
|
||||
- ${HOME}/mongo_container/data/:/data/db
|
||||
|
||||
mongo-express:
|
||||
mongo_express:
|
||||
image: mongo-express
|
||||
restart: always
|
||||
ports:
|
||||
@@ -23,4 +23,4 @@ services:
|
||||
ME_CONFIG_BASICAUTH_PASSWORD: ${MONGOEXPRESS_PASS}
|
||||
ME_CONFIG_MONGODB_ADMINUSERNAME: ${DB_ADM_USER}
|
||||
ME_CONFIG_MONGODB_ADMINPASSWORD: ${DB_ADM_PASS}
|
||||
ME_CONFIG_MONGODB_SERVER: my-mongo
|
||||
ME_CONFIG_MONGODB_SERVER: my_mongo
|
||||
|
||||
Reference in New Issue
Block a user