mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-27 22:11:12 +00:00
Update docker-compose.yml
add network definitions
This commit is contained in:
parent
e442b6fa15
commit
a2ae0fd5c0
|
@ -15,6 +15,8 @@ services:
|
||||||
# - traefik.docker.network=proxy
|
# - traefik.docker.network=proxy
|
||||||
# # Part for local lan services only; disable to expose externally
|
# # Part for local lan services only; disable to expose externally
|
||||||
# - traefik.http.routers.rocketchat.middlewares=local-ipwhitelist@file
|
# - traefik.http.routers.rocketchat.middlewares=local-ipwhitelist@file
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
environment:
|
environment:
|
||||||
MONGO_URL: "${MONGO_URL:-\
|
MONGO_URL: "${MONGO_URL:-\
|
||||||
mongodb://${MONGODB_ADVERTISED_HOSTNAME:-mongodb}:${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017}/\
|
mongodb://${MONGODB_ADVERTISED_HOSTNAME:-mongodb}:${MONGODB_INITIAL_PRIMARY_PORT_NUMBER:-27017}/\
|
||||||
|
@ -45,3 +47,9 @@ services:
|
||||||
MONGODB_ADVERTISED_HOSTNAME: ${MONGODB_ADVERTISED_HOSTNAME:-mongodb}
|
MONGODB_ADVERTISED_HOSTNAME: ${MONGODB_ADVERTISED_HOSTNAME:-mongodb}
|
||||||
MONGODB_ENABLE_JOURNAL: ${MONGODB_ENABLE_JOURNAL:-true}
|
MONGODB_ENABLE_JOURNAL: ${MONGODB_ENABLE_JOURNAL:-true}
|
||||||
ALLOW_EMPTY_PASSWORD: ${ALLOW_EMPTY_PASSWORD:-yes}
|
ALLOW_EMPTY_PASSWORD: ${ALLOW_EMPTY_PASSWORD:-yes}
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
||||||
|
|
Loading…
Reference in New Issue
Block a user