Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Dockerfile-generateconfig-anyconf
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# syntax=docker/dockerfile:1
FROM golang:1.23-alpine
FROM ghcr.io/anyproto/any-sync-tools
RUN apk add --no-cache bash yq
RUN go install github.com/anyproto/any-sync-tools/anyconf@latest
WORKDIR /code
ENTRYPOINT ["bash", "/code/docker-generateconfig/anyconf.sh"]
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -239,11 +239,11 @@ services:
- any-sync-node-2
- any-sync-node-3
volumes:
- "${STORAGE_DIR}:/code/storage:Z"
- "${STORAGE_DIR}/docker-generateconfig/nodes.yml:/app/nodes.yml:Z"
command: ["tail", "-f", "/dev/null"]
stop_signal: SIGKILL
tty: true
healthcheck:
test: any-sync-netcheck -c /code/storage/docker-generateconfig/nodes.yml 2>&1| grep -E 'netcheck\s+success'
test: any-sync-netcheck -c nodes.yml 2>&1| grep -E 'netcheck\s+success'
interval: 10s
start_period: 5s