docker stack commands

This commit is contained in:
2019-05-05 15:50:48 +02:00
parent c96b199932
commit 155c0b2c3d
20 changed files with 164 additions and 37 deletions

View File

@@ -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