You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

37 lines
814 B

version: '3.7'
services:
mariadb:
image: ghcr.io/linuxserver/mariadb:latest
container_name: hedgedoc_mariadb
restart: always
volumes:
- ./mariadb-data/:/config
environment:
- MYSQL_ROOT_PASSWORD=hedgedoc
- MYSQL_DATABASE=hedgedoc
- MYSQL_USER=hedgedoc
- MYSQL_PASSWORD=hedgedoc
- PGID=1000
- PUID=1000
- TZ=America/New_York
hedgedoc:
image: ghcr.io/linuxserver/hedgedoc:latest
container_name: hedgedoc
restart: always
depends_on:
- mariadb
volumes:
- ./hedgedoc-data/:/config
environment:
- DB_HOST=mariadb
- DB_USER=hedgedoc
- DB_PASS=hedgedoc
- DB_NAME=hedgedoc
- DB_PORT=3306
- PGID=1000
- PUID=1000
- TZ=America/New_York
ports:
- "3000:3000"