1
0
Fork 0
mirror of https://github.com/anyproto/any-sync-dockercompose.git synced 2025-06-07 21:37:01 +09:00
This commit is contained in:
Grigory Efimov 2024-08-14 13:26:01 -03:00
parent 06959f1a95
commit 528268e450
No known key found for this signature in database
GPG key ID: 0A88C34DFA7FD939
3 changed files with 0 additions and 14 deletions

View file

@ -3,10 +3,4 @@ FROM golang:1.22-alpine3.19
RUN apk add --no-cache bash yq
RUN go install github.com/anyproto/any-sync-tools/anyconf@latest
WORKDIR /code
HEALTHCHECK \
--start-period=3s \
--retries=20 \
--interval=10s \
--timeout=3s \
CMD echo 'HEALTHCHECK' | nc 127.0.0.1 8000 | grep -q HEALTHCHECK
ENTRYPOINT ["bash", "/code/docker-generateconfig/anyconf.sh"]

View file

@ -2,10 +2,4 @@
FROM alpine:3.18.4
RUN apk add --no-cache bash yq perl python3 py3-yaml
WORKDIR /code
HEALTHCHECK \
--start-period=3s \
--retries=10 \
--interval=5s \
--timeout=3s \
CMD echo 'HEALTHCHECK' | nc 127.0.0.1 8000 | grep -q HEALTHCHECK
ENTRYPOINT ["bash", "/code/docker-generateconfig/processing.sh"]

View file

@ -4,7 +4,6 @@ services:
build:
context: .
dockerfile: Dockerfile-generateconfig-anyconf
stop_signal: SIGKILL
volumes:
- ./:/code
- "${STORAGE_DIR}:/code/storage"
@ -17,7 +16,6 @@ services:
build:
context: .
dockerfile: Dockerfile-generateconfig-processing
stop_signal: SIGKILL
volumes:
- ./:/code
- "${STORAGE_DIR}:/code/storage"