Adjust networks for successful email submission
This commit is contained in:
parent
7ede6272b7
commit
5b5a954547
|
@ -1,6 +1,5 @@
|
||||||
---
|
---
|
||||||
# see https://github.com/hedgedoc/container/blob/master/docker-compose.yml
|
# see https://github.com/hedgedoc/container/blob/master/docker-compose.yml
|
||||||
version: "3.6"
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
database:
|
database:
|
||||||
|
@ -11,8 +10,6 @@ services:
|
||||||
- "POSTGRES_DB=hedgedoc"
|
- "POSTGRES_DB=hedgedoc"
|
||||||
volumes:
|
volumes:
|
||||||
- database:/var/lib/postgresql/data
|
- database:/var/lib/postgresql/data
|
||||||
networks:
|
|
||||||
backend:
|
|
||||||
restart: always
|
restart: always
|
||||||
|
|
||||||
app:
|
app:
|
||||||
|
@ -45,9 +42,6 @@ services:
|
||||||
- uploads:/hedgedoc/public/uploads
|
- uploads:/hedgedoc/public/uploads
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:3000:3000"
|
- "127.0.0.1:3000:3000"
|
||||||
networks:
|
|
||||||
backend:
|
|
||||||
frontend:
|
|
||||||
restart: always
|
restart: always
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
|
@ -61,20 +55,13 @@ services:
|
||||||
- "POSTGRES_USERNAME=hedgedoc"
|
- "POSTGRES_USERNAME=hedgedoc"
|
||||||
- "POSTGRES_PASSWORD={{ lookup("community.general.passwordstore", "noc/vm-secrets/chaosknoten/pad/DB_PASSWORD", create=false, missing="error") }}"
|
- "POSTGRES_PASSWORD={{ lookup("community.general.passwordstore", "noc/vm-secrets/chaosknoten/pad/DB_PASSWORD", create=false, missing="error") }}"
|
||||||
- "SMTP_FROM=pad@hamburg.ccc.de"
|
- "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_USERNAME=pad@hamburg.ccc.de"
|
||||||
- "SMTP_PASSWORD={{ lookup("community.general.passwordstore", "noc/vm-secrets/chaosknoten/pad/smtp_password", create=false, missing="error") }}"
|
- "SMTP_PASSWORD={{ lookup("community.general.passwordstore", "noc/vm-secrets/chaosknoten/pad/smtp_password", create=false, missing="error") }}"
|
||||||
- "URL=https://pad.hamburg.ccc.de"
|
- "URL=https://pad.hamburg.ccc.de"
|
||||||
networks:
|
|
||||||
backend:
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- database
|
- database
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
database: {}
|
database: {}
|
||||||
uploads: {}
|
uploads: {}
|
||||||
|
|
||||||
networks:
|
|
||||||
backend:
|
|
||||||
internal: true
|
|
||||||
frontend:
|
|
||||||
|
|
Loading…
Reference in a new issue