app-store/apps/syncthing/docker-compose.yml

48 lines
1.9 KiB
YAML
Raw Normal View History

2022-07-28 17:46:12 +00:00
version: "3.7"
services:
syncthing:
container_name: syncthing
image: syncthing/syncthing:1.27
2022-07-28 17:46:12 +00:00
stop_grace_period: 1m
hostname: tipi
environment:
- PUID=1000
- PGID=1000
volumes:
- ${APP_DATA_DIR}/data:/var/syncthing
- ${ROOT_FOLDER_HOST}/media/data/syncthing:/media/data/syncthing
2022-07-28 17:46:12 +00:00
ports:
- ${APP_PORT}:8384
- 22000:22000/tcp # TCP file transfers
- 22000:22000/udp # QUIC file transfers
- 21027:21027/udp # Receive local discovery broadcasts
restart: unless-stopped
networks:
- tipi_main_network
2022-11-11 19:33:58 +00:00
labels:
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Main
traefik.enable: true
traefik.http.middlewares.syncthing-web-redirect.redirectscheme.scheme: https
traefik.http.services.syncthing.loadbalancer.server.port: 8384
# Web
traefik.http.routers.syncthing-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.syncthing-insecure.entrypoints: web
traefik.http.routers.syncthing-insecure.service: syncthing
traefik.http.routers.syncthing-insecure.middlewares: syncthing-web-redirect
# Websecure
2022-11-11 19:33:58 +00:00
traefik.http.routers.syncthing.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.syncthing.entrypoints: websecure
traefik.http.routers.syncthing.service: syncthing
traefik.http.routers.syncthing.tls.certresolver: myresolver
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Local domain
traefik.http.routers.syncthing-local-insecure.rule: Host(`syncthing.${LOCAL_DOMAIN}`)
traefik.http.routers.syncthing-local-insecure.entrypoints: web
traefik.http.routers.syncthing-local-insecure.service: syncthing
traefik.http.routers.syncthing-local-insecure.middlewares: syncthing-web-redirect
# Local domain secure
traefik.http.routers.syncthing-local.rule: Host(`syncthing.${LOCAL_DOMAIN}`)
traefik.http.routers.syncthing-local.entrypoints: websecure
traefik.http.routers.syncthing-local.service: syncthing
traefik.http.routers.syncthing-local.tls: true