Add syncthing instance for ju

This commit is contained in:
Thomas Dehaeze 2022-05-09 10:25:45 +02:00
parent c856574cf9
commit 2f07c5e584

View File

@ -562,6 +562,10 @@ access_control:
policy: one_factor
subject:
- ["group:admins"]
- domain: sync-ju.tdehaeze.xyz
policy: one_factor
subject:
- ["group:admins"]
- domain: sync-jm.tdehaeze.xyz
policy: one_factor
subject:
@ -1792,6 +1796,36 @@ services:
logging: *default-logging
#+end_src
*** =sync-ju= - File Synchronization ([[https://hub.docker.com/r/linuxserver/syncthing][link]])
#+begin_src yaml
sync-ju:
container_name: sync-ju
image: linuxserver/syncthing
restart: unless-stopped
networks:
- t2_proxy
environment:
- PUID=$PUID
- PGID=$PGID
- TZ=$TZ
- UMASK_SET=022
volumes:
- $CONFIGDIR/sync-ju:/config
- /srv/storage/Users/juliette:/Cloud
ports:
- 22003:22003
- 21030:21030/udp
labels:
- "traefik.enable=true"
- "traefik.http.routers.sync-ju-rtr.entrypoints=https"
- "traefik.http.routers.sync-ju-rtr.rule=Host(`sync-ju.$DOMAINNAME`)"
- "traefik.http.routers.sync-ju-rtr.tls=true"
- "traefik.http.routers.sync-ju-rtr.service=sync-ju-svc"
- "traefik.http.routers.sync-ju-rtr.middlewares=authelia@docker"
- "traefik.http.services.sync-ju-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: