From 11761c011691c4838606b140888d95cc4613c421 Mon Sep 17 00:00:00 2001 From: Mark Otway Date: Mon, 4 Jan 2021 20:23:50 +0000 Subject: [PATCH] Add docker-compose --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 97a656de..34b66dbb 100644 --- a/README.md +++ b/README.md @@ -38,7 +38,7 @@ Damselfly is a server-based Digital Asset Management system. The goal of Damself --- ## Installation -The easiest way to install Damselfly is via Docker. +The easiest way to install Damselfly is via Docker (note the `SYNO_THUMBS` env var is optional, and specific to Synology NASes). ``` docker run \ @@ -51,6 +51,18 @@ docker run \ -d \ webreaper/damselfly ``` +Docker-Compose: +``` + damselfly: + container_name: damselfly + image: webreaper/damselfly + ports: + - 6363:6363/tcp + volumes: + - /volume1/dockerdata/damselfly:/config + - /volume1/photo:/pictures + restart: unless-stopped +``` The default port is 6363. The /pictures volume is mapped to the root directory of your photographs. By