---
version: "2"
services:
hedgedoc:
image: linuxserver/hedgedoc:1.10.0
container_name: hedgedoc
restart: unless-stopped
environment:
- TZ=Europe/London # Specify a timezone to use
- PUID=1000 # User ID to run as
- PGID=1000 # Group ID to run as
- DB_USER=hedgedoc # Database username
- DB_PORT=3306 # Database server port
- DB_PASS= # Database password
- DB_NAME=hedgedoc # Database name
- DB_HOST=mariadb # Database server hostname
volumes:
- /host/path/to/config:/config # Contains all relevant configuration files.
ports:
- 3000:3000/tcp # Web UI