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

11 lines
340 B
YAML

services:
hedgedoc:
container_name: hedgedoc
image: quay.io/hedgedoc/hedgedoc:1.10.0-alpine
restart: always
user: {{ users['hedgedoc'] }}:{{ users['hedgedoc'] }}
env_file: .env
ports:
- 127.0.0.1:{{ ports['hedgedoc'] }}:3000
volumes:
- {{ volumes['hedgedoc_uploadsdir'] }}:/hedgedoc/public/uploads