{"id":25421473,"url":"https://github.com/lanjelin/obsidian-docker","last_synced_at":"2025-10-05T11:35:48.282Z","repository":{"id":225637392,"uuid":"765659871","full_name":"Lanjelin/Obsidian-docker","owner":"Lanjelin","description":"Obsidian.md directly in your browser.","archived":false,"fork":false,"pushed_at":"2025-02-01T03:06:20.000Z","size":13,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T05:06:23.633Z","etag":null,"topics":["docker","dockerfile","kasm","obsidian","obsidian-md","obsidian-vault"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lanjelin.png","metadata":{"files":{"readme":".github/README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-03-01T11:12:09.000Z","updated_at":"2025-02-01T03:06:24.000Z","dependencies_parsed_at":"2024-03-03T12:31:57.095Z","dependency_job_id":"0d29aae2-be14-44ca-9047-2ec35dc80071","html_url":"https://github.com/Lanjelin/Obsidian-docker","commit_stats":null,"previous_names":["lanjelin/obsidian-docker"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lanjelin%2FObsidian-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lanjelin%2FObsidian-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lanjelin%2FObsidian-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lanjelin%2FObsidian-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lanjelin","download_url":"https://codeload.github.com/Lanjelin/Obsidian-docker/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239195496,"owners_count":19598037,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["docker","dockerfile","kasm","obsidian","obsidian-md","obsidian-vault"],"created_at":"2025-02-16T20:48:46.870Z","updated_at":"2025-10-05T11:35:48.152Z","avatar_url":"https://github.com/Lanjelin.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n    \u003cimg src=\"https://avatars.githubusercontent.com/u/65011256?\u0026v=4\" width=\"110\", height=\"110\"\u003e\n\u003c/div\u003e\n\u003ch1 align=\"center\"\u003eObsidian-Docker\u003c/h1\u003e\n\n[Obsidian.md](https://obsidian.md/) directly in your browser.  \nContainer based on [Docker Baseimage KasmVNC by linuxserver](https://github.com/linuxserver/docker-baseimage-kasmvnc).\n\n## Official Linuxserver version\n\nAs of Apr. 6th 2024, [linuxserver released their image of Obsidian](https://github.com/linuxserver/docker-obsidian).  \nGoing forward, I highly recommend using their image, I will keep this image up to date though.\n\n---\n\nSupports [Docker Mods](https://github.com/linuxserver/docker-mods) for those interested in using [git](https://github.com/linuxserver/docker-mods/tree/universal-git).\n\nUnder no circumstances expose this container to anything but your local machine, unless you really know what you're doing.  \nFailure to practice proper security could lead to exposure of your vault.\n\n## Usage\n\nSome snippets to get you started.\n\n### docker-compose\n\n```yaml\nservices:\n  obsidian-docker:\n    image: ghcr.io/lanjelin/obsidian-docker:latest\n    container_name: obsidian-docker\n    environment:\n      - PUID=1000\n      - PGID=1000\n      - TZ=Europe/Oslo\n      - DRINODE=/dev/dri/renderD128 # select GPU\n    ports:\n      - \"3000:3000\" #http\n      - \"3001:3001\" #https\n    volumes:\n      - /path/to/vaults:/config/obsidian\n    devices:\n      - /dev/dri:/dev/dri # enable GPU Accel\n    restart: unless-stopped\n```\n\n### docker cli\n\n```bash\ndocker run -d \\\n  --name=obsidian-docker \\\n  -e PUID=1000 \\\n  -e PGID=1000 \\\n  -e TZ=Europe/Oslo \\\n  -e DRINODE=/dev/dri/renderD128 \\\n  -p 3000:3000 \\\n  -p 3001:3001 \\\n  -v /path/to/vaults:/config/obsidian \\\n  --device /dev/dri:/dev/dri \\\n  --restart unless-stopped \\\n  ghcr.io/lanjelin/obsidian-docker:latest\n```\n\n### UnRaid\n\nI've inlcuded a template to make it a fast process setting this up in UnRaid.  \nSimply run the following to download the template, then navigate to your Docker-tab, click Add Container, and find Obsidian in the Template-dropdown.\n\n```bash\nwget -O /boot/config/plugins/dockerMan/templates-user/my-Obsidian.xml https://raw.githubusercontent.com/Lanjelin/docker-templates/main/lanjelin/obsidian.xml\n```\n\n## Application Setup\n\nThe application can be accessed at:\n\n- http://yourhost:3000/\n- https://yourhost:3001/\n\n### Options in all KasmVNC based GUI containers\n\nThis container is based on [Docker Baseimage KasmVNC](https://github.com/linuxserver/docker-baseimage-kasmvnc) which means there are additional environment variables and run configurations to enable or disable specific functionality.\n\n#### Optional environment variables\n\n|     Variable      | Description                                                                                                                                                                             |\n| :---------------: | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n|    CUSTOM_PORT    | Internal port the container listens on for http if it needs to be swapped from the default 3000.                                                                                        |\n| CUSTOM_HTTPS_PORT | Internal port the container listens on for https if it needs to be swapped from the default 3001.                                                                                       |\n|    CUSTOM_USER    | HTTP Basic auth username, abc is default.                                                                                                                                               |\n|     PASSWORD      | HTTP Basic auth password, abc is default. If unset there will be no auth                                                                                                                |\n|     SUBFOLDER     | Subfolder for the application if running a subfolder reverse proxy, need both slashes IE `/subfolder/`                                                                                  |\n|       TITLE       | The page title displayed on the web browser, default \"KasmVNC Client\".                                                                                                                  |\n|      FM_HOME      | This is the home directory (landing) for the file manager, default \"/config\".                                                                                                           |\n|   START_DOCKER    | If set to false a container with privilege will not automatically start the DinD Docker setup.                                                                                          |\n|      DRINODE      | If mounting in /dev/dri for [DRI3 GPU Acceleration](https://www.kasmweb.com/kasmvnc/docs/master/gpu_acceleration.html) allows you to specify the device to use IE `/dev/dri/renderD128` |\n\n#### Optional run configurations\n\n|                    Variable                    | Description                                                                                                                                                                                                                                              |\n| :--------------------------------------------: | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |\n|                 `--privileged`                 | Will start a Docker in Docker (DinD) setup inside the container to use docker in an isolated environment. For increased performance mount the Docker directory inside the container to the host IE `-v /home/user/docker-data:/var/lib/docker`.          |\n| `-v /var/run/docker.sock:/var/run/docker.sock` | Mount in the host level Docker socket to either interact with it via CLI or use Docker enabled applications.                                                                                                                                             |\n|          `--device /dev/dri:/dev/dri`          | Mount a GPU into the container, this can be used in conjunction with the `DRINODE` environment variable to leverage a host video card for GPU accelerated appplications. Only **Open Source** drivers are supported IE (Intel,AMDGPU,Radeon,ATI,Nouveau) |\n\n### Lossless mode\n\nThis container is capable of delivering a true lossless image at a high framerate to your web browser by changing the Stream Quality preset to \"Lossless\", more information [here](https://www.kasmweb.com/docs/latest/how_to/lossless.html#technical-background). In order to use this mode from a non localhost endpoint the HTTPS port on 3001 needs to be used. If using a reverse proxy to port 3000 specific headers will need to be set as outlined [here](https://github.com/linuxserver/docker-baseimage-kasmvnc#lossless).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanjelin%2Fobsidian-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flanjelin%2Fobsidian-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flanjelin%2Fobsidian-docker/lists"}