vps/syncthing/docker-compose.yaml

32 lines
694 B
YAML
Raw Normal View History

2023-12-01 13:33:10 +01:00
services:
syncthing:
image: syncthing/syncthing:latest
container_name: syncthing
restart: always
2023-12-05 22:05:41 +01:00
user: '1001:1001'
2023-12-01 13:33:10 +01:00
environment:
2023-12-05 22:05:41 +01:00
- PUID=1001
- PGID=1001
2023-12-01 13:33:10 +01:00
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"