mirror of
https://github.com/Haxxnet/Compose-Examples.git
synced 2025-11-23 17:04:27 +01:00
fix typo
This commit is contained in:
31
examples/syncthing/docker-compose.yml
Normal file
31
examples/syncthing/docker-compose.yml
Normal file
@@ -0,0 +1,31 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
syncthing:
|
||||
image: syncthing/syncthing
|
||||
container_name: syncthing
|
||||
hostname: syncthing
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/syncthing:/var/syncthing # your path on where to store synched files
|
||||
ports:
|
||||
- 8384:8384 # Web UI
|
||||
#- 22000:22000/tcp # TCP file transfers
|
||||
#- 22000:22000/udp # QUIC file transfers
|
||||
#- 21027:21027/udp # Receive local discovery broadcasts
|
||||
restart: unless-stopped
|
||||
#networks:
|
||||
# - proxy
|
||||
#labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.http.routers.syncthing.rule=Host(`synchting.example.com`)
|
||||
# - traefik.http.services.syncthing.loadbalancer.server.port=8384
|
||||
# - traefik.docker.network=proxy
|
||||
# # Part for optional traefik middlewares
|
||||
# - traefik.http.routers.syncthing.middlewares=local-ipwhitelist@file,basic-auth@file
|
||||
|
||||
#networks:
|
||||
# proxy:
|
||||
# external: true
|
||||
Reference in New Issue
Block a user