36 lines
742 B
YAML
36 lines
742 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
|
|
networks:
|
|
- disco
|
|
ports:
|
|
- "[::1]:8443:8443"
|
|
|
|
networks:
|
|
disco:
|