vps/projects/hedgedoc/compose.yaml.mako

12 lines
470 B
Mako

services:
hedgedoc:
container_name: hedgedoc
image: quay.io/hedgedoc/hedgedoc:1.10.0-alpine
network_mode: pasta:-a,${env['pasta']['hedgedoc']['ipv4']},-a,${env['pasta']['hedgedoc']['ipv6']}
restart: always
user: ${env['users']['hedgedoc']}:${env['users']['hedgedoc']}
env_file: .env.rendered
ports:
- 127.0.0.1:${env['ports']['hedgedoc']}:3000
volumes:
- ${env['volumes']['hedgedoc']['uploadsdir']}:/hedgedoc/public/uploads