Remove container_names from docker-compose.yml (#78)

This commit is contained in:
topelrapha 2022-06-09 09:18:03 +02:00 committed by GitHub
parent e64d5503c8
commit 2c9b8cf8cf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,6 @@ version: "2.4"
services: services:
postgres: postgres:
container_name: postgres_mattermost
image: postgres:${POSTGRES_IMAGE_TAG} image: postgres:${POSTGRES_IMAGE_TAG}
restart: ${RESTART_POLICY} restart: ${RESTART_POLICY}
security_opt: security_opt:
@ -28,7 +27,6 @@ services:
mattermost: mattermost:
depends_on: depends_on:
- postgres - postgres
container_name: mattermost
image: mattermost/${MATTERMOST_IMAGE}:${MATTERMOST_IMAGE_TAG} image: mattermost/${MATTERMOST_IMAGE}:${MATTERMOST_IMAGE_TAG}
restart: ${RESTART_POLICY} restart: ${RESTART_POLICY}
security_opt: security_opt: