Syncthing

Open Source Continuous File Synchronization.

# file: `docker-compose.yml`

services:
  syncthing:
    image: ${HONEYPI_IMAGE_REGISTRY_HOST:-docker.io}/syncthing/syncthing:${HONEYPI_SYNCTHING_VERSION:-latest}
    container_name: syncthing
    restart: unless-stopped
    ports:
      - ${HONEYPI_SYNCTHING_PORT:-8384}:8384
    volumes:
      - ${HONEYPI_DATA}/syncthing:/var/syncthing
    labels:
      - traefik.enable=${HONEYPI_SYNCTHING_TRAEFIK_ENABLE:-false}
      - traefik.http.routers.syncthing.rule=Host(`${HONEYPI_SYNCTHING_HOST}`)
      - traefik.http.routers.syncthing.entrypoints=websecure
      - traefik.http.routers.syncthing.tls.certresolver=resolver
      - traefik.http.routers.syncthing.service=syncthing
      - traefik.http.services.syncthing.loadbalancer.server.port=80