Parcourir la source

peertube: CHATONS_SERVICE, if you want to change the domain

Guilhem Saurel il y a 6 ans
Parent
commit
16e5793836
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      peertube/docker-compose.yml

+ 2 - 2
peertube/docker-compose.yml

@@ -11,10 +11,10 @@ services:
     env_file:
       - .env
     environment:
-      - PEERTUBE_WEBSERVER_HOSTNAME=peertube.${CHATONS_DOMAIN:-localhost}
+      - PEERTUBE_WEBSERVER_HOSTNAME=${CHATONS_SERVICE}.${CHATONS_DOMAIN:-localhost}
     labels:
       traefik.enable: "true"
-      traefik.frontend.rule: "Host: peertube.${CHATONS_DOMAIN:-localhost}, www.peertube.${CHATONS_DOMAIN:-localhost}"
+      traefik.frontend.rule: "Host: ${CHATONS_SERVICE}.${CHATONS_DOMAIN:-localhost}, www.${CHATONS_SERVICE}.${CHATONS_DOMAIN:-localhost}"
     networks:
       - web
       - default