mirror of
https://github.com/zadam/trilium.git
synced 2024-12-26 01:01:26 +08:00
add example docker-compose
Signed-off-by: Felix Bartels <felix@host-consultants.de>
This commit is contained in:
parent
71916b5e28
commit
288ec88c2f
1 changed files with 17 additions and 0 deletions
17
docker-compose.yml
Normal file
17
docker-compose.yml
Normal 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:
|
||||||
|
|
Loading…
Reference in a new issue