infrastructure/docker-compose.syncthing.yml
Bensuperpc 72973384fb
Fix dep caddy
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
2024-05-18 09:04:35 +02:00

28 lines
512 B
YAML

version: '3.9'
services:
# syncthing
syncthing:
image: linuxserver/syncthing:latest
container_name: syncthing
profiles:
- syncthing
depends_on:
- caddy
restart: on-failure:5
env_file:
- env/syncthing.env
volumes:
- syncthing_config:/config
- syncthing_data:/data1
networks:
- infra-network
security_opt:
- no-new-privileges:true
volumes:
syncthing_config:
name: syncthing_config
syncthing_data:
name: syncthing_data