vps/syncthing/docker-compose.yaml
2023-12-05 21:05:41 +00:00

31 lines
694 B
YAML

services:
syncthing:
image: syncthing/syncthing:latest
container_name: syncthing
restart: always
user: '1001:1001'
environment:
- PUID=1001
- PGID=1001
ports:
- "[::1]:8384:8384" # Web UI
- 22000:22000/tcp # TCP file transfers
- 22000:22000/udp # QUIC file transfers
- 5432:22000/tcp
volumes:
- /mnt/syncthing:/var/syncthing
stdiscosrv:
image: syncthing/discosrv:latest
container_name: stdiscosrv
restart: always
entrypoint:
- "/bin/entrypoint.sh"
- "/bin/stdiscosrv"
- "-http"
- "-debug"
environment:
- PUID=1002
- PGID=1002
ports:
- "[::1]:8443:8443"