Browse Source

BREAKING: replace default DOMAIN_NAME local by localhost, fix #62

Guilhem Saurel 6 years ago
parent
commit
0eca1175b5

+ 1 - 1
cloud/docker-compose.yml

@@ -32,7 +32,7 @@ services:
       - ${CHATONS_ROOT_DIR:-/srv/chatons}/nextcloud/app:/var/www/html:ro
     labels:
       traefik.enable: "true"
-      traefik.frontend.rule: "Host: cloud.${CHATONS_DOMAIN:-local}, www.cloud.${CHATONS_DOMAIN:-local}"
+      traefik.frontend.rule: "Host: cloud.${CHATONS_DOMAIN:-localhost}, www.cloud.${CHATONS_DOMAIN:-localhost}"
     networks:
       - web
       - default

+ 1 - 1
homepage/docker-compose.yml

@@ -10,6 +10,6 @@ services:
     restart: unless-stopped
     labels:
       traefik.enable: "true"
-      traefik.frontend.rule: "Host: ${CHATONS_DOMAIN:-local}, www.${CHATONS_DOMAIN:-local}"
+      traefik.frontend.rule: "Host: ${CHATONS_DOMAIN:-localhost}, www.${CHATONS_DOMAIN:-localhost}"
     networks:
       - web

+ 2 - 1
matrix/README.md

@@ -4,7 +4,8 @@ https://matrix.org & https://riot.im
 
 ## DNS
 
-For this project, you need to setup both `matrix` & `riot` subdomains of `$CHATONS_DOMAIN` (which defaults to `local`)
+For this project, you need to setup both `matrix` & `riot` subdomains of `$CHATONS_DOMAIN` (which defaults to
+`localhost`)
 
 ## Configure
 

+ 4 - 4
matrix/docker-compose.yml

@@ -11,10 +11,10 @@ services:
     env_file:
       - .env
     environment:
-      - SYNAPSE_SERVER_NAME=matrix.${CHATONS_DOMAIN:-local}
+      - SYNAPSE_SERVER_NAME=matrix.${CHATONS_DOMAIN:-localhost}
     labels:
       traefik.enable: "true"
-      traefik.frontend.rule: "Host: matrix.${CHATONS_DOMAIN:-local}, www.matrix.${CHATONS_DOMAIN:-local}"
+      traefik.frontend.rule: "Host: matrix.${CHATONS_DOMAIN:-localhost}, www.matrix.${CHATONS_DOMAIN:-localhost}"
     networks:
       - web
       - default
@@ -38,10 +38,10 @@ services:
     build:
       context: .
       args:
-        SYNAPSE_SERVER_NAME: matrix.${CHATONS_DOMAIN:-local}
+        SYNAPSE_SERVER_NAME: matrix.${CHATONS_DOMAIN:-localhost}
         RIOT_VERSION: v0.16.6
     labels:
       traefik.enable: "true"
-      traefik.frontend.rule: "Host: riot.${CHATONS_DOMAIN:-local}, www.riot.${CHATONS_DOMAIN:-local}"
+      traefik.frontend.rule: "Host: riot.${CHATONS_DOMAIN:-localhost}, www.riot.${CHATONS_DOMAIN:-localhost}"
     networks:
       - web

+ 3 - 3
peertube/README.md

@@ -21,9 +21,9 @@ echo PEERTUBE_SMTP_PASSWORD=null >> .env
 echo PEERTUBE_SMTP_HOSTNAME=null >> .env
 echo PEERTUBE_SMTP_PORT=465 >> .env
 echo PEERTUBE_SMTP_TLS=true >> .env
-echo PEERTUBE_SMTP_USERNAME=peertube@${CHATONS_DOMAIN:-local} >> .env
-echo PEERTUBE_SMTP_FROM=peertube@${CHATONS_DOMAIN:-local} >> .env
-echo PEERTUBE_ADMIN_EMAIL=peertube@${CHATONS_DOMAIN:-local} >> .env
+echo PEERTUBE_SMTP_USERNAME=peertube@${CHATONS_DOMAIN:-localhost} >> .env
+echo PEERTUBE_SMTP_FROM=peertube@${CHATONS_DOMAIN:-localhost} >> .env
+echo PEERTUBE_ADMIN_EMAIL=peertube@${CHATONS_DOMAIN:-localhost} >> .env
 ```
 
 ## Deploy

+ 2 - 2
peertube/docker-compose.yml

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

+ 1 - 1
proxy

@@ -1 +1 @@
-Subproject commit 63f78f3f7703d58bf1edf4874706d160421d47e6
+Subproject commit f47bd4363b42faae8fdfdc106c75fcac2b5a6f6d