refactor(HedgeDoc): Use COMPOSE_PROJECT_NAME to make containers unique #3

Merged
kosssi merged 1 commits from refs/pull/3/head into master 2021-07-26 10:12:10 +02:00
2 changed files with 3 additions and 7 deletions

View File

@ -1,8 +1,9 @@
########
# DOCKER
COMPOSE_FILE=./docker-compose.yml:../../hedgedoc/docker-compose.yml:../../hedgedoc/docker-compose.traefik.yml:../../postgres/docker-compose.yml
#DOCKER_HOST=
COMPOSE_FILE=../../hedgedoc/docker-compose.yml:../../hedgedoc/docker-compose.traefik.yml:../../postgres/docker-compose.yml
COMPOSE_PROJECT_NAME=hedgedoc_exemple_fr
##########
# HEDGEDOC
@ -31,4 +32,4 @@ POSTGRES_CONTAINER_NAME=hedgedoc_exemple_fr_postgres
# TRAEFIK
#TRAEFIK_NETWORK_NAME=
#TRAEFIK_ROUTER_NAME=hedgedoc_exemple_fr # Don't use char '.'
TRAEFIK_ROUTER_NAME=hedgedoc_exemple_fr # Don't use char '.'

View File

@ -1,5 +0,0 @@
version: "3.8"
# Ce fichier même vide est important puisqu'il permet de configurer la racine du
# lancement de docker-compose. Il est possible de venir surcharger le template
# utilisé