You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

40 lines
983 B

2 years ago
version: '3'
services:
database:
image: postgres:13.4-alpine
environment:
- POSTGRES_USER=hedgedoc
- POSTGRES_PASSWORD=hedgedoc
- POSTGRES_DB=hedgedoc
volumes:
- ./database:/var/lib/postgresql/data
networks:
cttue_web_services:
restart: always
app:
image: quay.io/hedgedoc/hedgedoc:1.9.7
2 years ago
environment:
- CMD_DB_URL=postgres://hedgedoc:hedgedoc@database:5432/hedgedoc
- CMD_DOMAIN=pad.cttue.de
- CMD_PROTOCOL_USESSL=true
- CMD_ALLOW_PDF_EXPORT=true
- CMD_ALLOW_FREEURL=true
- CMD_SESSION_SECRET=9yonH247cLTXEqDv9JTGEygBCxk7fHXfYY2ckkhY7n0KPEuzRJ6yfmcUNBVcEJQI
# nginx-proxy stuff
- VIRTUAL_HOST=pad.cttue.de
- VIRTUAL_PORT=3000
- LETSENCRYPT_HOST=pad.cttue.de
volumes:
- ./uploads:/hedgedoc/public/uploads
networks:
cttue_web_services:
restart: always
depends_on:
- database
networks:
cttue_web_services:
external: true