mirror of
https://github.com/ClusterCockpit/cc-docker.git
synced 2024-12-26 21:29:05 +01:00
Prefix container names to prevent clashes
This commit is contained in:
parent
3f9265bb7e
commit
ebbc43619c
@ -1,6 +1,6 @@
|
|||||||
services:
|
services:
|
||||||
db:
|
db:
|
||||||
container_name: db
|
container_name: cc-db
|
||||||
image: mysql:8.0.22
|
image: mysql:8.0.22
|
||||||
command: ["--default-authentication-plugin=mysql_native_password"]
|
command: ["--default-authentication-plugin=mysql_native_password"]
|
||||||
environment:
|
environment:
|
||||||
@ -13,7 +13,7 @@ services:
|
|||||||
- ${DATADIR}/sql:/docker-entrypoint-initdb.d
|
- ${DATADIR}/sql:/docker-entrypoint-initdb.d
|
||||||
|
|
||||||
influxdb:
|
influxdb:
|
||||||
container_name: influxdb
|
container_name: cc-influxdb
|
||||||
image: influxdb
|
image: influxdb
|
||||||
command: ["--reporting-disabled"]
|
command: ["--reporting-disabled"]
|
||||||
ports:
|
ports:
|
||||||
@ -31,7 +31,7 @@ services:
|
|||||||
# - ${DATADIR}/influxdb/config:/etc/influxdb2
|
# - ${DATADIR}/influxdb/config:/etc/influxdb2
|
||||||
|
|
||||||
php:
|
php:
|
||||||
container_name: php-fpm
|
container_name: cc-php
|
||||||
build:
|
build:
|
||||||
context: ./php-fpm
|
context: ./php-fpm
|
||||||
args:
|
args:
|
||||||
@ -51,7 +51,7 @@ services:
|
|||||||
- influxdb
|
- influxdb
|
||||||
|
|
||||||
phpmyadmin:
|
phpmyadmin:
|
||||||
image: phpmyadmin
|
image: cc-phpmyadmin
|
||||||
container_name: phpmyadmin
|
container_name: phpmyadmin
|
||||||
environment:
|
environment:
|
||||||
- PMA_HOST=db
|
- PMA_HOST=db
|
||||||
@ -62,7 +62,7 @@ services:
|
|||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
container_name: nginx
|
container_name: cc-nginx
|
||||||
build:
|
build:
|
||||||
context: ./nginx
|
context: ./nginx
|
||||||
args:
|
args:
|
||||||
|
Loading…
Reference in New Issue
Block a user