2024-10-07 14:42:58 +02:00
|
|
|
services:
|
|
|
|
syncthing:
|
|
|
|
container_name: syncthing
|
|
|
|
image: docker.io/syncthing/syncthing:1
|
2024-10-08 09:23:51 +02:00
|
|
|
network_mode: pasta:-a,${env['pasta']['syncthing']['ipv4']},-a,${env['pasta']['syncthing']['ipv6']}
|
2024-10-07 14:42:58 +02:00
|
|
|
restart: always
|
|
|
|
user: ${env['users']['syncthing']}:${env['users']['syncthing']}
|
|
|
|
environment:
|
|
|
|
- PUID=${env['users']['syncthing']}
|
|
|
|
- PGID=${env['users']['syncthing']}
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:${env['ports']['syncthing_webui']}:8384 # Web UI
|
|
|
|
- ${env['ports']['syncthing_tcp']}:22000/tcp # TCP file transfers
|
|
|
|
- ${env['ports']['syncthing_udp']}:22000/udp # QUIC file transfers
|
|
|
|
volumes:
|
|
|
|
- ${env['volumes']['syncthing']['datadir']}:/var/syncthing
|
|
|
|
|
2024-10-08 09:23:51 +02:00
|
|
|
discosrv:
|
2024-10-07 14:42:58 +02:00
|
|
|
container_name: syncthing-discosrv
|
|
|
|
image: docker.io/syncthing/discosrv:1
|
2024-10-08 16:28:21 +02:00
|
|
|
network_mode: pasta
|
2024-10-07 14:42:58 +02:00
|
|
|
restart: always
|
|
|
|
command:
|
|
|
|
- "-http"
|
|
|
|
environment:
|
|
|
|
- PUID=${env['users']['syncthing_discosrv']}
|
|
|
|
- PGID=${env['users']['syncthing_discosrv']}
|
|
|
|
ports:
|
|
|
|
- 127.0.0.1:${env['ports']['syncthing_discosrv']}:8443
|
|
|
|
|
2024-10-08 09:23:51 +02:00
|
|
|
relaysrv:
|
2024-10-07 14:42:58 +02:00
|
|
|
container_name: syncthing-relaysrv
|
|
|
|
image: docker.io/syncthing/relaysrv:1
|
2024-10-08 09:23:51 +02:00
|
|
|
network_mode: pasta:-a,${env['pasta']['syncthing_relaysrv']['ipv4']},-a,${env['pasta']['syncthing_relaysrv']['ipv6']}
|
2024-10-07 14:42:58 +02:00
|
|
|
restart: always
|
|
|
|
command:
|
|
|
|
- '-ext-address=:${env['ports']["syncthing_relaysrv"]}'
|
|
|
|
- '-pools='
|
|
|
|
environment:
|
|
|
|
- PUID=${env['users']['syncthing_relaysrv']}
|
|
|
|
- PGID=${env['users']['syncthing_relaysrv']}
|
|
|
|
ports:
|
|
|
|
- 22067:22067
|
|
|
|
volumes:
|
2024-10-08 09:23:51 +02:00
|
|
|
- relaysrv:/var/strelaysrv
|
2024-10-07 14:42:58 +02:00
|
|
|
|
|
|
|
volumes:
|
2024-10-08 09:23:51 +02:00
|
|
|
relaysrv:
|