aboutsummaryrefslogtreecommitdiffstats
path: root/compose.yaml
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-02-13 06:27:59 +0100
committerThomas Vanbesien <tvanbesi@proton.me>2026-02-13 08:16:09 +0100
commite0a100cae20fca18519829952d659d94a9855b80 (patch)
tree90893d027b5b02ee81b23387b8a565b9ea4054a0 /compose.yaml
parent3561b6d86c329272b1825adaf3ca49c9aff76119 (diff)
downloadnet_services-e0a100cae20fca18519829952d659d94a9855b80.tar.gz
net_services-e0a100cae20fca18519829952d659d94a9855b80.zip
Add Syncthing serviceHEADmaster
Diffstat (limited to 'compose.yaml')
-rw-r--r--compose.yaml15
1 files changed, 15 insertions, 0 deletions
diff --git a/compose.yaml b/compose.yaml
index 3149e8c..64827b3 100644
--- a/compose.yaml
+++ b/compose.yaml
@@ -13,6 +13,7 @@ services:
networks:
- cgit
- radicale
+ - syncthing
ports:
- ${HOST__HTTP_PORT:?}:80
- ${HOST__HTTPS_PORT:?}:443
@@ -23,6 +24,7 @@ services:
depends_on:
- cgit
- radicale
+ - syncthing
cgit:
build:
@@ -70,9 +72,22 @@ services:
- ${HOST__RADICALE_USERS_DIR:?}:/etc/radicale/users:ro
- radicale_data:/data
+ syncthing:
+ build:
+ dockerfile_inline: |
+ FROM syncthing/syncthing:2.0.14
+ networks:
+ - syncthing
+ volumes:
+ - ${HOST__SYNC_DIR:?}:/var/syncthing
+ healthcheck:
+ test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
+ start_period: 5s
+
networks:
cgit:
radicale:
+ syncthing:
volumes:
radicale_data: