Add syncthing

This commit is contained in:
Sparky
2025-10-09 20:24:33 +01:00
parent 82b146ad86
commit b7a7d76d96
5 changed files with 5728 additions and 348 deletions

2
.gitignore vendored
View File

@@ -11,3 +11,5 @@ syncthing-sparky/index-v0.14.0.db-old
*.lock
syncthing-bigbox/index-v2
*.log
coolify/sentinel
syncthing-sparky/index-v2

View File

@@ -0,0 +1,6 @@
SERVICE_NAME_SYNCTHING=syncthing
SERVICE_FQDN_SYNCTHING=sync.site.quack-lab.dev
SERVICE_FQDN_SYNCTHING_8384=sync.site.quack-lab.dev
SERVICE_URL_SYNCTHING=https://sync.site.quack-lab.dev
SERVICE_URL_SYNCTHING_8384=https://sync.site.quack-lab.dev
TZ=Etc/UTC

View File

@@ -0,0 +1,68 @@
services:
syncthing:
image: 'syncthing/syncthing:latest'
volumes:
- '/mnt/data/docker/volumes/captain--sync-data/_data:/var/syncthing'
- '/mnt/data/linux/config/syncthing-sparky:/var/syncthing/config'
ports:
- '22000:22000/tcp'
- '22000:22000/udp'
- '21027:21027/udp'
healthcheck:
test: 'curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1'
interval: 1m
timeout: 10s
retries: 3
container_name: syncthing-qwggooscokkgkc0k8sk00gsw
restart: unless-stopped
labels:
- coolify.managed=true
- coolify.version=4.0.0-beta.434
- coolify.serviceId=1
- coolify.type=service
- coolify.name=syncthing-qwggooscokkgkc0k8sk00gsw
- coolify.resourceName=sync
- coolify.projectName=services
- coolify.serviceName=syncthing
- coolify.environmentName=production
- coolify.pullRequestId=0
- coolify.service.subId=1
- coolify.service.subType=application
- coolify.service.subName=syncthing
- traefik.enable=true
- traefik.http.middlewares.gzip.compress=true
- traefik.http.middlewares.redirect-to-https.redirectscheme.scheme=https
- traefik.http.routers.http-0-qwggooscokkgkc0k8sk00gsw-syncthing.entryPoints=http
- traefik.http.routers.http-0-qwggooscokkgkc0k8sk00gsw-syncthing.middlewares=redirect-to-https
- 'traefik.http.routers.http-0-qwggooscokkgkc0k8sk00gsw-syncthing.rule=Host(`sync.site.quack-lab.dev`) && PathPrefix(`/`)'
- traefik.http.routers.http-0-qwggooscokkgkc0k8sk00gsw-syncthing.service=http-0-qwggooscokkgkc0k8sk00gsw-syncthing
- traefik.http.routers.https-0-qwggooscokkgkc0k8sk00gsw-syncthing.entryPoints=https
- traefik.http.routers.https-0-qwggooscokkgkc0k8sk00gsw-syncthing.middlewares=gzip
- 'traefik.http.routers.https-0-qwggooscokkgkc0k8sk00gsw-syncthing.rule=Host(`sync.site.quack-lab.dev`) && PathPrefix(`/`)'
- traefik.http.routers.https-0-qwggooscokkgkc0k8sk00gsw-syncthing.service=https-0-qwggooscokkgkc0k8sk00gsw-syncthing
- traefik.http.routers.https-0-qwggooscokkgkc0k8sk00gsw-syncthing.tls.certresolver=letsencrypt
- traefik.http.routers.https-0-qwggooscokkgkc0k8sk00gsw-syncthing.tls=true
- traefik.http.services.http-0-qwggooscokkgkc0k8sk00gsw-syncthing.loadbalancer.server.port=8384
- traefik.http.services.https-0-qwggooscokkgkc0k8sk00gsw-syncthing.loadbalancer.server.port=8384
- 'caddy_0.encode=zstd gzip'
- 'caddy_0.handle_path.0_reverse_proxy={{upstreams 8384}}'
- 'caddy_0.handle_path=/*'
- caddy_0.header=-Server
- 'caddy_0.try_files={path} /index.html /index.php'
- 'caddy_0=https://sync.site.quack-lab.dev'
- caddy_ingress_network=qwggooscokkgkc0k8sk00gsw
networks:
qwggooscokkgkc0k8sk00gsw: null
environment:
COOLIFY_RESOURCE_UUID: qwggooscokkgkc0k8sk00gsw
COOLIFY_CONTAINER_NAME: syncthing-qwggooscokkgkc0k8sk00gsw
COOLIFY_FQDN: sync.site.quack-lab.dev
COOLIFY_URL: 'https://sync.site.quack-lab.dev'
SERVICE_NAME_SYNCTHING: syncthing
volumes: { }
networks:
qwggooscokkgkc0k8sk00gsw:
name: qwggooscokkgkc0k8sk00gsw
external: true
configs: { }
secrets: { }

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff