Workflow update
parent
f7d2de9e60
commit
810b9e39ff
@ -0,0 +1,31 @@
|
||||
# [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
|
@ -0,0 +1,18 @@
|
||||
# [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
|
@ -0,0 +1,3 @@
|
||||
ln -s ../docker-env.cfg ./.env
|
||||
. ./.env
|
||||
mkdir -p ${BASEDIR:-/volume1/docker}/obsidian/config
|
Loading…
Reference in New Issue