mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2024-12-22 08:44:28 +01:00
26 lines
480 B
YAML
26 lines
480 B
YAML
version: '3.9'
|
|
|
|
services:
|
|
# syncthing
|
|
syncthing:
|
|
image: linuxserver/syncthing:latest
|
|
container_name: syncthing
|
|
profiles:
|
|
- syncthing
|
|
restart: on-failure
|
|
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
|