diff options
Diffstat (limited to 'compose.yaml')
| -rw-r--r-- | compose.yaml | 15 |
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: |
