-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
30 lines (30 loc) · 829 Bytes
/
Copy pathcompose.yml
File metadata and controls
30 lines (30 loc) · 829 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: "3.9"
services:
syncthing:
image: lscr.io/linuxserver/syncthing:latest
restart: unless-stopped
environment:
PUID: 1000
PGID: 1000
TZ: Etc/UTC
volumes:
- /srv:/srv
# ports:
# - 8384:8384
# - 22000:22000/tcp
# - 21027:21027/udp
networks:
- caddy
labels:
traefik.enable: "true"
traefik.http.routers.syncthing.rule: >
Host(`syncthing.marcpartensky.com`)
traefik.http.routers.syncthing.entrypoints: web
# traefik.http.routers.syncthing.tls.certresolver: tls
traefik.http.services.syncthing.loadbalancer.server.port: 8384
traefik.http.routers.syncthing.middlewares: oidc@file
healthcheck:
test: ["CMD", "curl", "-fSs", "localhost:8384/rest/noauth/health"]
networks:
caddy:
external: true