diff --git a/playbooks/templates/chaosknoten/configs/pad/compose.yaml.j2 b/playbooks/templates/chaosknoten/configs/pad/compose.yaml.j2 index 692e028..c54b715 100644 --- a/playbooks/templates/chaosknoten/configs/pad/compose.yaml.j2 +++ b/playbooks/templates/chaosknoten/configs/pad/compose.yaml.j2 @@ -1,6 +1,5 @@ --- # see https://github.com/hedgedoc/container/blob/master/docker-compose.yml -version: "3.6" services: database: @@ -11,8 +10,6 @@ services: - "POSTGRES_DB=hedgedoc" volumes: - database:/var/lib/postgresql/data - networks: - backend: restart: always app: @@ -45,9 +42,6 @@ services: - uploads:/hedgedoc/public/uploads ports: - "127.0.0.1:3000:3000" - networks: - backend: - frontend: restart: always depends_on: - database @@ -61,20 +55,13 @@ services: - "POSTGRES_USERNAME=hedgedoc" - "POSTGRES_PASSWORD={{ lookup("community.general.passwordstore", "noc/vm-secrets/chaosknoten/pad/DB_PASSWORD", create=false, missing="error") }}" - "SMTP_FROM=pad@hamburg.ccc.de" - - "SMTP_HOSTNAME=cow-intern.hamburg.ccc.de" + - "SMTP_HOSTNAME=cow.hamburg.ccc.de" - "SMTP_USERNAME=pad@hamburg.ccc.de" - "SMTP_PASSWORD={{ lookup("community.general.passwordstore", "noc/vm-secrets/chaosknoten/pad/smtp_password", create=false, missing="error") }}" - "URL=https://pad.hamburg.ccc.de" - networks: - backend: depends_on: - database volumes: database: {} uploads: {} - -networks: - backend: - internal: true - frontend: