# [HedgeDoc](https://hedgedoc.org/) gives you access to all your files wherever # you are. HedgeDoc is a real-time, multi-platform collaborative markdown note # editor. This means that you can write notes with other people on your desktop, # tablet or even on the phone. You can sign-in via multiple auth providers like # Facebook, Twitter, GitHub and many more on the homepage. version: "3" services: mariadb: image: lscr.io/linuxserver/mariadb:latest container_name: hedgedoc_mariadb restart: always volumes: - /path/to/mariadb/data:/config environment: - MYSQL_ROOT_PASSWORD= - MYSQL_DATABASE=hedgedoc - MYSQL_USER=hedgedoc - MYSQL_PASSWORD= - PGID=1000 - PUID=1000 - TZ=Europe/London hedgedoc: image: lscr.io/linuxserver/hedgedoc:latest container_name: hedgedoc restart: always depends_on: - mariadb volumes: - /path/to/config:/config environment: - DB_HOST=mariadb - DB_USER=hedgedoc - DB_PASS= - DB_NAME=hedgedoc - DB_PORT=3306 - PGID=1000 - PUID=1000 - TZ=Europe/London - CMD_DOMAIN=localhost - CMD_URL_ADDPORT=true #optional ports: - "3000:3000"