diff --git a/rxr_syncthing/.env b/rxr_syncthing/.env index c732f8c..53fe576 100644 --- a/rxr_syncthing/.env +++ b/rxr_syncthing/.env @@ -1 +1 @@ -PATH=/root/great_wall/file/syncthing \ No newline at end of file +SYNC_PATH=/root/great_wall/file/syncthing \ No newline at end of file diff --git a/rxr_syncthing/docker-compose.yml b/rxr_syncthing/docker-compose.yml index 65436a3..2507dc3 100644 --- a/rxr_syncthing/docker-compose.yml +++ b/rxr_syncthing/docker-compose.yml @@ -8,8 +8,8 @@ services: - PUID=1000 - PGID=1000 volumes: - - ${PATH}/syncthing-setting:/var/syncthing - - ${PATH}:/file + - ${SYNC_PATH}/syncthing-setting:/var/syncthing + - ${SYNC_PATH}:/file network_mode: host restart: unless-stopped healthcheck: