Add pad expiry

This commit is contained in:
Stefan Bethke 2024-05-20 13:49:25 +02:00
parent 182efd44c3
commit 2eb18460be

View file

@ -52,6 +52,24 @@ services:
depends_on: depends_on:
- database - database
hedgedoc-expire:
image: git.hamburg.ccc.de/ccchh/hedgedoc-expire/hedgedoc-expire:latest
command: "check"
# command: "cron"
environment:
- "POSTGRES_HOSTNAME=database"
- "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_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: volumes:
database: {} database: {}
uploads: {} uploads: {}