From ebbc43619c0ce394745a3a560ddc5f56d47af3fd Mon Sep 17 00:00:00 2001 From: Jan Eitzinger Date: Fri, 11 Jun 2021 11:25:55 +0200 Subject: [PATCH] Prefix container names to prevent clashes --- docker-compose.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 1db33be..fdadfc9 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,6 @@ services: db: - container_name: db + container_name: cc-db image: mysql:8.0.22 command: ["--default-authentication-plugin=mysql_native_password"] environment: @@ -13,7 +13,7 @@ services: - ${DATADIR}/sql:/docker-entrypoint-initdb.d influxdb: - container_name: influxdb + container_name: cc-influxdb image: influxdb command: ["--reporting-disabled"] ports: @@ -31,7 +31,7 @@ services: # - ${DATADIR}/influxdb/config:/etc/influxdb2 php: - container_name: php-fpm + container_name: cc-php build: context: ./php-fpm args: @@ -51,7 +51,7 @@ services: - influxdb phpmyadmin: - image: phpmyadmin + image: cc-phpmyadmin container_name: phpmyadmin environment: - PMA_HOST=db @@ -62,7 +62,7 @@ services: restart: always nginx: - container_name: nginx + container_name: cc-nginx build: context: ./nginx args: