This commit is contained in:
23
compose.yml
Normal file
23
compose.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
syncthing:
|
||||
image: 'syncthing/syncthing:2.0.12'
|
||||
container_name: syncthing
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PUID=2010 # syncthing
|
||||
- PGID=2010 # syncthing
|
||||
networks:
|
||||
- syncthing_network
|
||||
ports:
|
||||
- 8384:8384 # Web UI
|
||||
- 22000:22000/tcp # TCP file transfers
|
||||
- 22000:22000/udp # QUIC file transfers
|
||||
- 21027:21027/udp # Receive local discovery broadcasts
|
||||
volumes:
|
||||
- ./data:/var/syncthing
|
||||
|
||||
networks:
|
||||
syncthing_network:
|
||||
name: syncthing_network
|
||||
Reference in New Issue
Block a user