add hedgedoc

This commit is contained in:
uumas
2022-03-10 09:07:22 +02:00
parent 724b302ecf
commit 71b98366f0
3 changed files with 34 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
---
dependencies:
- role: container
docker_service: hedgedoc
docker_image: quay.io/hedgedoc/hedgedoc:latest
docker_image_http_port: 3000
docker_database: postgres
docker_volumes:
- hedgedoc_uploads:/hedgedoc/public/uploads
docker_env:
CMD_DB_URL: postgres://hedgedoc:{{ database_passwords.hedgedoc }}@hedgedoc_db:5432/hedgedoc
CMD_DOMAIN: "{{ docker_vhost_domains.hedgedoc[0] }}"
CMD_PROTOCOL_USESSL: "true"
CMD_ALLOW_ANONYMOUS: "false"
CMD_ALLOW_ANONYMOUS_EDITS: "true"
CMD_ALLOW_FREEURL: "true"