renamed the vars to be better inline with the readme (#341)
This commit is contained in:
parent
8516ea1ee9
commit
2efe681682
@ -5,12 +5,12 @@
|
||||
#
|
||||
# `docker stack up [STACK NAME] -c docker-stack.yml`
|
||||
#
|
||||
# In this case `mm` is going to be stack name, so the command will be:
|
||||
# In this case `mattermost` is going to be stack name, so the command will be:
|
||||
#
|
||||
# `docker stack up mm -c docker-stack.yml`
|
||||
# `docker stack up mattermost -c docker-stack.yml`
|
||||
#
|
||||
# From now on all the services that belong to this stack will be prefixed with `mm_`
|
||||
# this file defines 3 services, these are going to be mm_db, mm_app and mm_web,
|
||||
# From now on all the services that belong to this stack will be prefixed with `mattermost_`
|
||||
# this file defines 3 services, these are going to be mattermost_db, mattermost_app and mattermost_web,
|
||||
# each of these names is the service's hostname as well, they can communicate
|
||||
# with each other easily by using the hostname instead of the ip or exposing ports to the host.
|
||||
#
|
||||
@ -70,7 +70,7 @@ services:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
# use service's hostname
|
||||
- DB_HOST=mm_db
|
||||
- DB_HOST=db
|
||||
# talk to the port within the overlay network
|
||||
# without (over)exposing ports
|
||||
- DB_PORT_NUMBER=5432
|
||||
@ -99,7 +99,7 @@ services:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
# use app service's hostname
|
||||
- APP_HOST=mm_app
|
||||
- APP_HOST=app
|
||||
# talk to the port within the overlay network
|
||||
# without (over)exposing ports
|
||||
- APP_PORT_NUMBER=80
|
||||
|
Reference in New Issue
Block a user