From 288ec88c2f4d0a93a301f566e46adfc2cc2dc4a7 Mon Sep 17 00:00:00 2001 From: Felix Bartels Date: Sun, 14 Apr 2019 15:24:35 +0200 Subject: [PATCH] add example docker-compose Signed-off-by: Felix Bartels --- docker-compose.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 000000000..ff74f8a89 --- /dev/null +++ b/docker-compose.yml @@ -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: +