Primo caricamento
This commit is contained in:
25
docker-compose.yml
Normal file
25
docker-compose.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
syncthing:
|
||||
image: syncthing/syncthing:latest
|
||||
container_name: syncthing
|
||||
hostname: syncthing
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
- PGID=${PGID}
|
||||
volumes:
|
||||
- ${CONFIG_PATH}:/var/syncthing/config
|
||||
- ${DATA_PATH}:/var/syncthing/data
|
||||
ports:
|
||||
- ${WEB_UI_PORT}:8384 # Web UI
|
||||
- ${SYNC_PORT}:22000/tcp # TCP file transfers
|
||||
- ${SYNC_PORT}:22000/udp # QUIC file transfers
|
||||
- ${DISCOVERY_PORT}:21027/udp # Local discovery
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- syncthing_network
|
||||
|
||||
networks:
|
||||
syncthing_network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user