31 lines
672 B
YAML
31 lines
672 B
YAML
|
services:
|
||
|
syncthing:
|
||
|
image: syncthing/syncthing:latest
|
||
|
container_name: syncthing
|
||
|
restart: always
|
||
|
environment:
|
||
|
- PUID=1003
|
||
|
- PGID=1003
|
||
|
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"
|