syncthing. Draft.

This commit is contained in:
Alexey Skobkin 2022-02-14 03:47:05 +03:00
parent 4046547127
commit f3fefe2ccf
4 changed files with 37 additions and 0 deletions

View File

@ -48,6 +48,7 @@ Not every stack is tested to fully work.
- [x] Sonarr (prototype state, working itself, but transmission-on-host integration didn't work due to path mismatch)
- [x] Speedtest (LibreSpeed)
- [x] [Synapse](https://hub.docker.com/r/matrixdotorg/synapse) ([Matrix.org](https://matrix.org/) server)
- [ ] [Syncthing](https://hub.docker.com/r/linuxserver/syncthing)
- [x] [Tor Privoxy](https://hub.docker.com/r/dperson/torproxy)
- [x] Watchtower
- [ ] [Wireguard](https://hub.docker.com/r/cmulk/wireguard-docker) (prototype state, not working yet)

12
syncthing/.env.dist Normal file
View File

@ -0,0 +1,12 @@
# see https://hub.docker.com/r/linuxserver/syncthing
PUID=0
PGID=0
TZ=Europe/Moscow
HOST_DATA_DIR=/path/to/data/directory
WEBUI_BIND_ADDR=127.0.0.1
WEBUI_BIND_PORT=8384
LOG_MAX_SIZE=5m
LOG_MAX_FILE=5

2
syncthing/config/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
/*
!/.gitignore

View File

@ -0,0 +1,22 @@
version: '3.7'
services:
syncthing:
image: lscr.io/linuxserver/syncthing
container_name: syncthing
#hostname: syncthing #optional
volumes:
- "./config:/config"
- "${HOST_DATA_DIR}:/data"
ports:
- "${WEBUI_BIND_ADDR}:${WEBUI_BIND_PORT}:8384"
- "22000:22000/tcp"
- "22000:22000/udp"
- "21027:21027/udp"
env_file: .env
restart: unless-stopped
logging:
driver: "json-file"
options:
max-size: "${LOG_MAX_SIZE:-5m}"
max-file: "${LOG_MAX_FILE:-5}"