update
This commit is contained in:
parent
1e992f23d0
commit
cd32a717c0
1
rxr_syncthing/.env
Normal file
1
rxr_syncthing/.env
Normal file
@ -0,0 +1 @@
|
||||
PATH=/root/great_wall/syncthing
|
19
rxr_syncthing/docker-compose.yml
Normal file
19
rxr_syncthing/docker-compose.yml
Normal file
@ -0,0 +1,19 @@
|
||||
version: "3"
|
||||
services:
|
||||
syncthing:
|
||||
image: syncthing/syncthing
|
||||
container_name: syncthing
|
||||
hostname: my-syncthing
|
||||
environment:
|
||||
- PUID=1000
|
||||
- PGID=1000
|
||||
volumes:
|
||||
- ${PATH}/syncthing:/var/syncthing
|
||||
- ${PATH}:/file
|
||||
network_mode: host
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test: curl -fkLsS -m 2 127.0.0.1:8384/rest/noauth/health | grep -o --color=never OK || exit 1
|
||||
interval: 1m
|
||||
timeout: 10s
|
||||
retries: 3
|
Loading…
Reference in New Issue
Block a user