{"id":20828585,"url":"https://github.com/linuxserver/docker-hedgedoc","last_synced_at":"2026-03-11T22:01:09.820Z","repository":{"id":42189598,"uuid":"317657513","full_name":"linuxserver/docker-hedgedoc","owner":"linuxserver","description":null,"archived":false,"fork":false,"pushed_at":"2026-02-11T20:11:12.000Z","size":426,"stargazers_count":50,"open_issues_count":0,"forks_count":8,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-02-12T03:57:34.406Z","etag":null,"topics":["hacktoberfest"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/linuxserver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":".github/CONTRIBUTING.md","funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":"linuxserver","open_collective":"linuxserver"}},"created_at":"2020-12-01T20:18:20.000Z","updated_at":"2026-02-11T20:00:10.000Z","dependencies_parsed_at":"2023-10-12T01:45:11.292Z","dependency_job_id":"8cd50252-81de-4dbe-9484-c45c91b5deb6","html_url":"https://github.com/linuxserver/docker-hedgedoc","commit_stats":{"total_commits":213,"total_committers":7,"mean_commits":"30.428571428571427","dds":"0.16431924882629112","last_synced_commit":"788699df4b06f8079ffa5899a04fada6e00635a7"},"previous_names":[],"tags_count":192,"template":false,"template_full_name":null,"purl":"pkg:github/linuxserver/docker-hedgedoc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxserver%2Fdocker-hedgedoc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxserver%2Fdocker-hedgedoc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxserver%2Fdocker-hedgedoc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxserver%2Fdocker-hedgedoc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/linuxserver","download_url":"https://codeload.github.com/linuxserver/docker-hedgedoc/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/linuxserver%2Fdocker-hedgedoc/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30404050,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T21:51:19.558Z","status":"ssl_error","status_checked_at":"2026-03-11T21:50:57.892Z","response_time":84,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["hacktoberfest"],"created_at":"2024-11-17T23:16:50.198Z","updated_at":"2026-03-11T22:01:09.813Z","avatar_url":"https://github.com/linuxserver.png","language":"Dockerfile","funding_links":["https://github.com/sponsors/linuxserver","https://opencollective.com/linuxserver"],"categories":[],"sub_categories":[],"readme":"\u003c!-- DO NOT EDIT THIS FILE MANUALLY --\u003e\n\u003c!-- Please read https://github.com/linuxserver/docker-hedgedoc/blob/main/.github/CONTRIBUTING.md --\u003e\n[![linuxserver.io](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/linuxserver_medium.png)](https://linuxserver.io)\n\n[![Blog](https://img.shields.io/static/v1.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=linuxserver.io\u0026message=Blog)](https://blog.linuxserver.io \"all the things you can do with our containers including How-To guides, opinions and much more!\")\n[![Discord](https://img.shields.io/discord/354974912613449730.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=Discord\u0026logo=discord)](https://linuxserver.io/discord \"realtime support / chat with the community and the team.\")\n[![Discourse](https://img.shields.io/discourse/https/discourse.linuxserver.io/topics.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=discourse)](https://discourse.linuxserver.io \"post on our community forum.\")\n[![GitHub](https://img.shields.io/static/v1.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=linuxserver.io\u0026message=GitHub\u0026logo=github)](https://github.com/linuxserver \"view the source for all of our repositories.\")\n[![Open Collective](https://img.shields.io/opencollective/all/linuxserver.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=Supporters\u0026logo=open%20collective)](https://opencollective.com/linuxserver \"please consider helping us by either donating or contributing to our budget\")\n\nThe [LinuxServer.io](https://linuxserver.io) team brings you another container release featuring:\n\n* regular and timely application updates\n* easy user mappings (PGID, PUID)\n* custom base image with s6 overlay\n* weekly base OS updates with common layers across the entire LinuxServer.io ecosystem to minimise space usage, down time and bandwidth\n* regular security updates\n\nFind us at:\n\n* [Blog](https://blog.linuxserver.io) - all the things you can do with our containers including How-To guides, opinions and much more!\n* [Discord](https://linuxserver.io/discord) - realtime support / chat with the community and the team.\n* [Discourse](https://discourse.linuxserver.io) - post on our community forum.\n* [GitHub](https://github.com/linuxserver) - view the source for all of our repositories.\n* [Open Collective](https://opencollective.com/linuxserver) - please consider helping us by either donating or contributing to our budget\n\n# [linuxserver/hedgedoc](https://github.com/linuxserver/docker-hedgedoc)\n\n[![Scarf.io pulls](https://scarf.sh/installs-badge/linuxserver-ci/linuxserver%2Fhedgedoc?color=94398d\u0026label-color=555555\u0026logo-color=ffffff\u0026style=for-the-badge\u0026package-type=docker)](https://scarf.sh)\n[![GitHub Stars](https://img.shields.io/github/stars/linuxserver/docker-hedgedoc.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=github)](https://github.com/linuxserver/docker-hedgedoc)\n[![GitHub Release](https://img.shields.io/github/release/linuxserver/docker-hedgedoc.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026logo=github)](https://github.com/linuxserver/docker-hedgedoc/releases)\n[![GitHub Package Repository](https://img.shields.io/static/v1.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=linuxserver.io\u0026message=GitHub%20Package\u0026logo=github)](https://github.com/linuxserver/docker-hedgedoc/packages)\n[![GitLab Container Registry](https://img.shields.io/static/v1.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=linuxserver.io\u0026message=GitLab%20Registry\u0026logo=gitlab)](https://gitlab.com/linuxserver.io/docker-hedgedoc/container_registry)\n[![Quay.io](https://img.shields.io/static/v1.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=linuxserver.io\u0026message=Quay.io)](https://quay.io/repository/linuxserver.io/hedgedoc)\n[![Docker Pulls](https://img.shields.io/docker/pulls/linuxserver/hedgedoc.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=pulls\u0026logo=docker)](https://hub.docker.com/r/linuxserver/hedgedoc)\n[![Docker Stars](https://img.shields.io/docker/stars/linuxserver/hedgedoc.svg?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=stars\u0026logo=docker)](https://hub.docker.com/r/linuxserver/hedgedoc)\n[![Jenkins Build](https://img.shields.io/jenkins/build?labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026jobUrl=https%3A%2F%2Fci.linuxserver.io%2Fjob%2FDocker-Pipeline-Builders%2Fjob%2Fdocker-hedgedoc%2Fjob%2Fmain%2F\u0026logo=jenkins)](https://ci.linuxserver.io/job/Docker-Pipeline-Builders/job/docker-hedgedoc/job/main/)\n[![LSIO CI](https://img.shields.io/badge/dynamic/yaml?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=CI\u0026query=CI\u0026url=https%3A%2F%2Fci-tests.linuxserver.io%2Flinuxserver%2Fhedgedoc%2Flatest%2Fci-status.yml)](https://ci-tests.linuxserver.io/linuxserver/hedgedoc/latest/index.html)\n\n[HedgeDoc](https://hedgedoc.org/) gives you access to all your files wherever you are.\n\nHedgeDoc 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.\n\n[![hedgedoc](https://raw.githubusercontent.com/linuxserver/docker-templates/master/linuxserver.io/img/hedgedoc-banner.png)](https://hedgedoc.org/)\n\n## Supported Architectures\n\nWe utilise the docker manifest for multi-platform awareness. More information is available from docker [here](https://distribution.github.io/distribution/spec/manifest-v2-2/#manifest-list) and our announcement [here](https://blog.linuxserver.io/2019/02/21/the-lsio-pipeline-project/).\n\nSimply pulling `lscr.io/linuxserver/hedgedoc:latest` should retrieve the correct image for your arch, but you can also pull specific arch images via tags.\n\nThe architectures supported by this image are:\n\n| Architecture | Available | Tag |\n| :----: | :----: | ---- |\n| x86-64 | ✅ | amd64-\\\u003cversion tag\\\u003e |\n| arm64 | ✅ | arm64v8-\\\u003cversion tag\\\u003e |\n\n## Application Setup\n\nHedgeDoc web interface can be accessed `http://${IP}:3000/`, if you want to use a custom domain or anything besides port 3000 you will need to leverage their env settings for callbacks: (specifically for CMD_DOMAIN, CMD_PORT and CMD_URL_ADDPORT)\n\n[Full list of HedgeDoc options](https://docs.hedgedoc.org/configuration/)\n\nFor convenience we provide a working example using Mariadb as a backend in this document.\n\nTo run behind a reverse proxy we have a [preconfigured config](https://github.com/linuxserver/reverse-proxy-confs/blob/master/hedgedoc.subdomain.conf.sample) using docker networking included in our [SWAG](https://github.com/linuxserver/docker-swag) image and you can read how to use this in the [Reverse Proxy Confs repository](https://github.com/linuxserver/reverse-proxy-confs/#how-to-use-these-reverse-proxy-configs)\n\n## Usage\n\nTo help you get started creating a container from this image you can either use docker-compose or the docker cli.\n\n\u003e[!NOTE]\n\u003eUnless a parameter is flagged as 'optional', it is *mandatory* and a value must be provided.\n\n### docker-compose (recommended, [click here for more info](https://docs.linuxserver.io/general/docker-compose))\n\n```yaml\n---\nservices:\n  hedgedoc:\n    image: lscr.io/linuxserver/hedgedoc:latest\n    container_name: hedgedoc\n    environment:\n      - PUID=1000\n      - PGID=1000\n      - TZ=Etc/UTC\n      - \"DB_HOST=\u003chostname or ip\u003e\"\n      - DB_PORT=3306\n      - DB_USER=hedgedoc\n      - \"DB_PASS=\u003csecret password\u003e\"\n      - DB_NAME=hedgedoc\n      - CMD_DOMAIN=localhost\n      - CMD_URL_ADDPORT=false #optional\n      - CMD_PROTOCOL_USESSL=false #optional\n      - CMD_PORT=3000 #optional\n      - CMD_ALLOW_ORIGIN=['localhost'] #optional\n      - CMD_DB_DIALECT= #optional\n    volumes:\n      - /path/to/hedgedoc/config:/config\n    ports:\n      - 3000:3000\n    restart: unless-stopped\n```\n\n### docker cli ([click here for more info](https://docs.docker.com/engine/reference/commandline/cli/))\n\n```bash\ndocker run -d \\\n  --name=hedgedoc \\\n  -e PUID=1000 \\\n  -e PGID=1000 \\\n  -e TZ=Etc/UTC \\\n  -e DB_HOST=\"\u003chostname or ip\u003e\" \\\n  -e DB_PORT=3306 \\\n  -e DB_USER=hedgedoc \\\n  -e DB_PASS=\"\u003csecret password\u003e\" \\\n  -e DB_NAME=hedgedoc \\\n  -e CMD_DOMAIN=localhost \\\n  -e CMD_URL_ADDPORT=false `#optional` \\\n  -e CMD_PROTOCOL_USESSL=false `#optional` \\\n  -e CMD_PORT=3000 `#optional` \\\n  -e CMD_ALLOW_ORIGIN=['localhost'] `#optional` \\\n  -e CMD_DB_DIALECT= `#optional` \\\n  -p 3000:3000 \\\n  -v /path/to/hedgedoc/config:/config \\\n  --restart unless-stopped \\\n  lscr.io/linuxserver/hedgedoc:latest\n```\n\n## Parameters\n\nContainers are configured using parameters passed at runtime (such as those above). These parameters are separated by a colon and indicate `\u003cexternal\u003e:\u003cinternal\u003e` respectively. For example, `-p 8080:80` would expose port `80` from inside the container to be accessible from the host's IP on port `8080` outside the container.\n\n| Parameter | Function |\n| :----: | --- |\n| `-p 3000:3000` | Web gui port (internal port also needs to be changed if accessing at port other than 80, 443 and 3000). |\n| `-e PUID=1000` | for UserID - see below for explanation |\n| `-e PGID=1000` | for GroupID - see below for explanation |\n| `-e TZ=Etc/UTC` | specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List). |\n| `-e DB_HOST=\u003chostname or ip\u003e` | Host address of mariadb database |\n| `-e DB_PORT=3306` | Port to access mariadb database default is 3306 |\n| `-e DB_USER=hedgedoc` | Database user |\n| `-e DB_PASS=\u003csecret password\u003e` | Database password |\n| `-e DB_NAME=hedgedoc` | Database name |\n| `-e CMD_DOMAIN=localhost` | The address the gui will be accessed at (ie. `192.168.1.1` or `hedgedoc.domain.com`). |\n| `-e CMD_URL_ADDPORT=false` | Set to `true` if using a port other than `80` or `443`. |\n| `-e CMD_PROTOCOL_USESSL=false` | Set to `true` if accessing over https via reverse proxy. |\n| `-e CMD_PORT=3000` | If you wish to access hedgedoc at a port different than 80, 443 or 3000, you need to set this to that port (ie. `CMD_PORT=5000`) and change the port mapping accordingly (5000:5000). |\n| `-e CMD_ALLOW_ORIGIN=['localhost']` | Comma-separated list of allowed hostnames |\n| `-e CMD_DB_DIALECT=` | This variable allows selecting a database engine (if DB_HOST not set up). Available options are: `mariadb`, `mysql`, `postgres`, `sqlite`. |\n| `-v /config` | Persistent config files |\n\n## Environment variables from files (Docker secrets)\n\nYou can set any environment variable from a file by using a special prepend `FILE__`.\n\nAs an example:\n\n```bash\n-e FILE__MYVAR=/run/secrets/mysecretvariable\n```\n\nWill set the environment variable `MYVAR` based on the contents of the `/run/secrets/mysecretvariable` file.\n\n## Umask for running applications\n\nFor all of our images we provide the ability to override the default umask settings for services started within the containers using the optional `-e UMASK=022` setting.\nKeep in mind umask is not chmod it subtracts from permissions based on it's value it does not add. Please read up [here](https://en.wikipedia.org/wiki/Umask) before asking for support.\n\n## User / Group Identifiers\n\nWhen using volumes (`-v` flags), permissions issues can arise between the host OS and the container, we avoid this issue by allowing you to specify the user `PUID` and group `PGID`.\n\nEnsure any volume directories on the host are owned by the same user you specify and any permissions issues will vanish like magic.\n\nIn this instance `PUID=1000` and `PGID=1000`, to find yours use `id your_user` as below:\n\n```bash\nid your_user\n```\n\nExample output:\n\n```text\nuid=1000(your_user) gid=1000(your_user) groups=1000(your_user)\n```\n\n## Docker Mods\n\n[![Docker Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=hedgedoc\u0026query=%24.mods%5B%27hedgedoc%27%5D.mod_count\u0026url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=hedgedoc \"view available mods for this container.\") [![Docker Universal Mods](https://img.shields.io/badge/dynamic/yaml?color=94398d\u0026labelColor=555555\u0026logoColor=ffffff\u0026style=for-the-badge\u0026label=universal\u0026query=%24.mods%5B%27universal%27%5D.mod_count\u0026url=https%3A%2F%2Fraw.githubusercontent.com%2Flinuxserver%2Fdocker-mods%2Fmaster%2Fmod-list.yml)](https://mods.linuxserver.io/?mod=universal \"view available universal mods.\")\n\nWe publish various [Docker Mods](https://github.com/linuxserver/docker-mods) to enable additional functionality within the containers. The list of Mods available for this image (if any) as well as universal mods that can be applied to any one of our images can be accessed via the dynamic badges above.\n\n## Support Info\n\n* Shell access whilst the container is running:\n\n    ```bash\n    docker exec -it hedgedoc /bin/bash\n    ```\n\n* To monitor the logs of the container in realtime:\n\n    ```bash\n    docker logs -f hedgedoc\n    ```\n\n* Container version number:\n\n    ```bash\n    docker inspect -f '{{ index .Config.Labels \"build_version\" }}' hedgedoc\n    ```\n\n* Image version number:\n\n    ```bash\n    docker inspect -f '{{ index .Config.Labels \"build_version\" }}' lscr.io/linuxserver/hedgedoc:latest\n    ```\n\n## Updating Info\n\nMost of our images are static, versioned, and require an image update and container recreation to update the app inside. With some exceptions (noted in the relevant readme.md), we do not recommend or support updating apps inside the container. Please consult the [Application Setup](#application-setup) section above to see if it is recommended for the image.\n\nBelow are the instructions for updating containers:\n\n### Via Docker Compose\n\n* Update images:\n    * All images:\n\n        ```bash\n        docker-compose pull\n        ```\n\n    * Single image:\n\n        ```bash\n        docker-compose pull hedgedoc\n        ```\n\n* Update containers:\n    * All containers:\n\n        ```bash\n        docker-compose up -d\n        ```\n\n    * Single container:\n\n        ```bash\n        docker-compose up -d hedgedoc\n        ```\n\n* You can also remove the old dangling images:\n\n    ```bash\n    docker image prune\n    ```\n\n### Via Docker Run\n\n* Update the image:\n\n    ```bash\n    docker pull lscr.io/linuxserver/hedgedoc:latest\n    ```\n\n* Stop the running container:\n\n    ```bash\n    docker stop hedgedoc\n    ```\n\n* Delete the container:\n\n    ```bash\n    docker rm hedgedoc\n    ```\n\n* Recreate a new container with the same docker run parameters as instructed above (if mapped correctly to a host folder, your `/config` folder and settings will be preserved)\n* You can also remove the old dangling images:\n\n    ```bash\n    docker image prune\n    ```\n\n### Image Update Notifications - Diun (Docker Image Update Notifier)\n\n\u003e[!TIP]\n\u003eWe recommend [Diun](https://crazymax.dev/diun/) for update notifications. Other tools that automatically update containers unattended are not recommended or supported.\n\n## Building locally\n\nIf you want to make local modifications to these images for development purposes or just to customize the logic:\n\n```bash\ngit clone https://github.com/linuxserver/docker-hedgedoc.git\ncd docker-hedgedoc\ndocker build \\\n  --no-cache \\\n  --pull \\\n  -t lscr.io/linuxserver/hedgedoc:latest .\n```\n\nThe ARM variants can be built on x86_64 hardware and vice versa using `lscr.io/linuxserver/qemu-static`\n\n```bash\ndocker run --rm --privileged lscr.io/linuxserver/qemu-static --reset\n```\n\nOnce registered you can define the dockerfile to use with `-f Dockerfile.aarch64`.\n\n## Versions\n\n* **14.10.25:** - Rebase to Alpine 3.22.\n* **24.02.25:** - Add missing icu-data-full to fix bug with TextDecoder and image uploads.\n* **21.06.24:** - Allow using `CMD_DB_DIALECT` to set up the `CMD_DB_URL`.\n* **06.06.24:** - Rebase to Alpine 3.20.\n* **23.12.23:** - Rebase to Alpine 3.19.\n* **18.06.23:** - Rebase to Alpine 3.18, deprecate armhf as per [https://www.linuxserver.io/armhf](https://www.linuxserver.io/armhf).\n* **02.11.22:** - Rebase to Alpine 3.16, migrate to s6v3.\n* **10.04.22:** - Use python3 to build node sqlite3.\n* **10.02.22:** - Rebase to Alpine 3.15.\n* **09.02.22:** - Add optional var `CMD_PORT` that is needed for accessing at port other than 80, 443 and 3000.\n* **09.12.21:** - Add optional var `CMD_PROTOCOL_USESSL` that is needed for reverse proxy.\n* **07.12.21:** - Rebase to ubuntu focal. Update to node 16. Make sure uploads are persistent.\n* **15.10.21:** - Add required env var `CMD_DOMAIN`.\n* **05.05.21:** - Remove symlinking some folders from config to /opt/hedgedoc/public.\n* **03.05.21:** - Remove deprecated sequalizerc step.\n* **22.12.20:** - Initial release\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxserver%2Fdocker-hedgedoc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flinuxserver%2Fdocker-hedgedoc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flinuxserver%2Fdocker-hedgedoc/lists"}