Skip to content

Commit 130e0da

Browse files
committed
refactor: mounting node config in netcheck service
1 parent c91b414 commit 130e0da

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,11 @@ services:
239239
- any-sync-node-2
240240
- any-sync-node-3
241241
volumes:
242-
- "${STORAGE_DIR}:/code/storage:Z"
242+
- "${STORAGE_DIR}/docker-generateconfig/nodes.yml:/app/nodes.yml:Z"
243243
command: ["tail", "-f", "/dev/null"]
244244
stop_signal: SIGKILL
245245
tty: true
246246
healthcheck:
247-
test: any-sync-netcheck -c /code/storage/docker-generateconfig/nodes.yml 2>&1| grep -E 'netcheck\s+success'
247+
test: any-sync-netcheck -c nodes.yml 2>&1| grep -E 'netcheck\s+success'
248248
interval: 10s
249249
start_period: 5s

0 commit comments

Comments
 (0)