Remove deprecated links in docker-compose file (#185)

Using links is considered to be a deprecated feature of Docker,
in favor of user-defined networks (see
https://docs.docker.com/engine/userguide/networking/default_network/dockerlinks/).
Since the docker-compose file is in Version 2, a network is
automatically created for the 3 containers.
This commit is contained in:
sebgl authored and Kyâne Pichou committed 2017-10-20 20:19:34 +02:00
1 parent b9491b03ef
commit 1943614f10
1 file changed
-4
-4
View File
@@ -37,8 +37,6 @@ services:
- MM_DBNAME=mattermost
# in case your config is not in default location
#- MM_CONFIG=/mattermost/config/config.json
links:
- db:db
web:
build: web
@@ -53,5 +51,3 @@ services:
# Uncomment for SSL
# environment:
# - MATTERMOST_ENABLE_SSL=true
links:
- app:app