From f169bbc79d457d4c282a8179f284118ea4c83136 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Sun, 20 Feb 2022 23:19:52 +0100 Subject: [PATCH] Add new Syncthing instance --- homelab.org | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/homelab.org b/homelab.org index a2a3c34..f05faf7 100644 --- a/homelab.org +++ b/homelab.org @@ -1674,6 +1674,37 @@ services: logging: *default-logging #+end_src +*** =sync-jm= - File Synchronization ([[https://hub.docker.com/r/linuxserver/syncthing][link]]) +#+begin_src yaml + sync-jm: + container_name: sync-jm + image: linuxserver/syncthing + restart: unless-stopped + networks: + - t2_proxy + environment: + - PUID=$PUID + - PGID=$PGID + - TZ=$TZ + - UMASK_SET=022 + volumes: + - $CONFIGDIR/sync-jm:/config + - /srv/storage/Users/jean-marie:/Cloud + # - /srv/storage/Users/jean-marie/Photos/telephone:/telephone + ports: + - 22002:22002 + - 21029:21029/udp + labels: + - "traefik.enable=true" + - "traefik.http.routers.sync-jm-rtr.entrypoints=https" + - "traefik.http.routers.sync-jm-rtr.rule=Host(`sync-jm.$DOMAINNAME`)" + - "traefik.http.routers.sync-jm-rtr.tls=true" + - "traefik.http.routers.sync-jm-rtr.service=sync-jm-svc" + - "traefik.http.routers.sync-jm-rtr.middlewares=authelia@docker" + - "traefik.http.services.sync-jm-svc.loadbalancer.server.port=8384" + logging: *default-logging +#+end_src + *** =filebrowser= - Web file browser ([[https://hub.docker.com/r/filebrowser/filebrowser][link]]) #+begin_src yaml filebrowser: