Browse Source

use only .env files

Guilhem Saurel 7 years ago
parent
commit
ac69c8435d
2 changed files with 2 additions and 3 deletions
  1. 2 0
      pad/README.md
  2. 0 3
      pad/docker-compose.yml

+ 2 - 0
pad/README.md

@@ -7,6 +7,8 @@ http://etherpad.org/
 export MYSQL_ROOT_PASSWORD=$(openssl rand -base64 32)
 echo MYSQL_ROOT_PASSWORD=$MYSQL_ROOT_PASSWORD >> .env
 echo ETHERPAD_DB_PASSWORD=$MYSQL_ROOT_PASSWORD >> .env
+echo ETHERPAD_DB_HOST=db >> .env
+echo ETHERPAD_TITLE=Bloc Note >> .env
 ```
 
 ## Deploy

+ 0 - 3
pad/docker-compose.yml

@@ -18,9 +18,6 @@ services:
     restart: always
     env_file:
       - .env
-    environment:
-      - ETHERPAD_DB_HOST=db
-      - ETHERPAD_TITLE=Bloc Note
     labels:
       traefik.enable: "true"
       traefik.backend: "etherpad"