Merge pull request #3161 from oc013/docker-compose-example

Update docker-compose sample to use node user home dir and pull directly from docker hub
This commit is contained in:
zadam 2022-09-24 13:14:28 +02:00 committed by GitHub
commit fe3f24cdb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,17 +1,14 @@
version: '2.1'
services:
trilium:
build:
context: .
image: zadam/trilium
restart: always
environment:
- TRILIUM_DATA_DIR=/data
- TRILIUM_DATA_DIR=/home/node/trilium-data
ports:
- "8080:8080"
volumes:
- trilium:/data
- trilium:/home/node/trilium-data
volumes:
trilium: