vps/roles/hedgedoc/templates/docker-compose.yaml

12 lines
340 B
YAML
Raw Normal View History

2024-02-17 19:01:04 +01:00
services:
hedgedoc:
container_name: hedgedoc
image: quay.io/hedgedoc/hedgedoc:1.10.0-alpine
2024-02-17 19:01:04 +01:00
restart: always
user: {{ users['hedgedoc'] }}:{{ users['hedgedoc'] }}
env_file: .env
2024-02-17 19:01:04 +01:00
ports:
- 127.0.0.1:{{ ports['hedgedoc'] }}:3000
2024-02-17 19:01:04 +01:00
volumes:
- {{ volumes['hedgedoc_uploadsdir'] }}:/hedgedoc/public/uploads