Add docker-compose for Obsidian service
This docker-compose file sets up an Obsidian service with necessary configurations.
This commit is contained in:
1 parent
b71d72618b
commit
bb80f2c19e
1 file changed
+18
@@ -0,0 +1,18 @@
|
|||||||
|
services:
|
||||||
|
obsidian:
|
||||||
|
image: lscr.io/linuxserver/obsidian:latest
|
||||||
|
container_name: obsidian
|
||||||
|
security_opt:
|
||||||
|
- seccomp:unconfined # Nodig voor de Electron-engine van Obsidian
|
||||||
|
environment:
|
||||||
|
- PUID=1000
|
||||||
|
- PGID=1000
|
||||||
|
- TZ=Europe/Amsterdam
|
||||||
|
- DOCKER_MODS=linuxserver/mods:universal-package-install # Optioneel: voor extra fonts/tools
|
||||||
|
volumes:
|
||||||
|
- /path/to/your/obsidian/config:/config # BELANGRIJK: Pas dit pad aan
|
||||||
|
ports:
|
||||||
|
- 3070:3000 # HTTP toegang
|
||||||
|
- 3071:3001 # HTTPS toegang
|
||||||
|
shm_size: "1gb" # Voorkomt crashes bij zwaar geheugengebruik
|
||||||
|
restart: unless-stopped
|
||||||
Reference in new issue
Block a user