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.
32 lines
1.1 KiB
YAML
32 lines
1.1 KiB
YAML
2 months ago
|
# [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.
|
||
|
|
||
|
---
|
||
|
version: "2.1"
|
||
|
services:
|
||
|
obsidian:
|
||
|
image: ghcr.io/linuxserver/obsidian
|
||
|
container_name: obsidian
|
||
|
environment:
|
||
|
# for UserID
|
||
|
- PUID=${PUID:-1024}
|
||
|
# for GroupID
|
||
|
- PGID=${PGID:-100}
|
||
|
# specify a timezone to use, see this [list](https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List).
|
||
|
- TZ=${TZ:-Europe/Amsterdam}
|
||
|
volumes:
|
||
|
# Users home directory in the container, stores program settings and files.
|
||
|
- ${BASEDIR:-/volume1/docker}/obsidian/config:/config
|
||
|
ports:
|
||
|
# Obsidian desktop gui.
|
||
|
- 3000:3000
|
||
|
# Obsidian desktop gui HTTPS.
|
||
|
- 3001:3001
|
||
|
devices:
|
||
|
# Add this for GL support (Linux hosts only)
|
||
|
- /dev/dri:/dev/dri # optional
|
||
|
shm_size: "1gb"
|
||
|
restart: unless-stopped
|