mirror of
https://github.com/anyproto/any-sync-dockercompose.git
synced 2025-06-07 21:37:01 +09:00
additional edits for https://github.com/anyproto/any-sync-dockercompose/pull/76
This commit is contained in:
parent
06959f1a95
commit
528268e450
3 changed files with 0 additions and 14 deletions
|
@ -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"]
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue