feat(HedgeDoc): Simplify docker-compose
This commit is contained in:
parent
1feb37bb62
commit
19956ef6c3
|
@ -6,7 +6,6 @@
|
|||
|
||||
La configuration est séparé en 3 fichiers :
|
||||
- docker-compose.yml avec le service spécifique à HedgeDoc
|
||||
- docker-compose.traefik.yml avec la configuration spécifique pour Traefik
|
||||
- ../postgres/docker-compose.yml pour la partie base de donnée
|
||||
|
||||
## Configuration
|
||||
|
|
|
@ -1,13 +0,0 @@
|
|||
version: "3.8"
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: ${TRAEFIK_NETWORK_NAME:-traefik}
|
||||
|
||||
services:
|
||||
hedgedoc:
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
||||
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-hedgedoc}.rule=Host(`${HEDGEDOC_DOMAIN:?err}`)
|
||||
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-hedgedoc}.entrypoints=web
|
|
@ -24,3 +24,8 @@ services:
|
|||
CMD_ALLOW_GRAVATAR: ${CMD_ALLOW_GRAVATAR:-true}
|
||||
CMD_ALLOW_FREEURL: ${CMD_ALLOW_FREEURL:-false}
|
||||
CMD_ALLOW_EMAIL_REGISTER: ${CMD_ALLOW_EMAIL_REGISTER:-true}
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.docker.network=${TRAEFIK_NETWORK_NAME:-traefik}
|
||||
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-hedgedoc}.rule=Host(`${HEDGEDOC_DOMAIN:?err}`)
|
||||
- traefik.http.routers.${TRAEFIK_ROUTER_NAME:-hedgedoc}.entrypoints=web
|
||||
|
|
Loading…
Reference in New Issue