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

19 lines
983 B
Bash

# [Obsidian](https://obsidian.md) is a note-taking app that lets you create,
# link, and organize your notes on your device, with hundreds of plugins and
# themes to customize your workflow. You can also publish your notes online,
# access them offline, and sync them securely with end-to-end encryption.
. ./.env
docker run -d \
--name=obsidian \
-e PUID=${PUID:-1024} `# for UserID` \
-e PGID=${PGID:-100} `# for GroupID` \
-e TZ=${TZ:-Europe/Amsterdam} `# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).` \
-p 3000:3000 `# Obsidian desktop gui.` \
-p 3001:3001 `# Obsidian desktop gui HTTPS.` \
-v ${BASEDIR:-/volume1/docker}/obsidian/config:/config `# Users home directory in the container, stores program settings and files.` \
--device /dev/dri:/dev/dri `# optional` `# Add this for GL support (Linux hosts only)` \
--shm-size="1gb" \
--restart unless-stopped \
ghcr.io/linuxserver/obsidian