Merge pull request #485 from fbartels/docker-compose

add example docker-compose
This commit is contained in:
zadam 2019-04-14 20:22:55 +02:00 committed by GitHub
commit 6fddd2bd62
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

17
docker-compose.yml Normal file
View file

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