init compose
This commit is contained in:
commit
dc4006f506
10 changed files with 488 additions and 0 deletions
39
syncthing/docker-compose.yml
Normal file
39
syncthing/docker-compose.yml
Normal file
|
|
@ -0,0 +1,39 @@
|
|||
version: "3.1"
|
||||
|
||||
services:
|
||||
syncthing:
|
||||
image: ghcr.io/linuxserver/syncthing
|
||||
container_name: syncthing
|
||||
restart: unless-stopped
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
networks:
|
||||
- proxy
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
- TZ=America/Chicago
|
||||
volumes:
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- /tank/syncthing/config:/config
|
||||
- /tank/syncthing:/data
|
||||
# ports:
|
||||
# - 8384:8384
|
||||
# - 22000:22000
|
||||
# - 21027:21027/udp
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.syncthing.entrypoints=http"
|
||||
- "traefik.http.routers.syncthing.rule=Host(`syncthing.${URL}`)"
|
||||
- "traefik.http.middlewares.syncthing-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.syncthing.middlewares=syncthing-https-redirect"
|
||||
- "traefik.http.routers.syncthing-secure.entrypoints=https"
|
||||
- "traefik.http.routers.syncthing-secure.rule=Host(`syncthing.local.waylonwalker.com`)"
|
||||
- "traefik.http.routers.syncthing-secure.tls=true"
|
||||
- "traefik.http.routers.syncthing-secure.service=syncthing"
|
||||
- "traefik.http.services.syncthing.loadbalancer.server.port=8384"
|
||||
- "traefik.docker.network=proxy"
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue