-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #40 from anyproto/ghcr.io-image-versions
added support prod,stage1 versions for ghcr docker images
- Loading branch information
Showing
19 changed files
with
344 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ANY_SYNC_NODE_VERSION=latest | ||
ANY_SYNC_FILENODE_VERSION=latest | ||
ANY_SYNC_COORDINATOR_VERSION=latest | ||
ANY_SYNC_CONSENSUSNODE_VERSION=latest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ANY_SYNC_NODE_VERSION=prod | ||
ANY_SYNC_FILENODE_VERSION=prod | ||
ANY_SYNC_COORDINATOR_VERSION=prod | ||
ANY_SYNC_CONSENSUSNODE_VERSION=prod |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
ANY_SYNC_NODE_VERSION=stage1 | ||
ANY_SYNC_FILENODE_VERSION=stage1 | ||
ANY_SYNC_COORDINATOR_VERSION=stage1 | ||
ANY_SYNC_CONSENSUSNODE_VERSION=stage1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
.DS_Store | ||
/etc/ | ||
/storage/ | ||
/docker-compose.override.yml | ||
/repos/ | ||
/.env | ||
/.env.override |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# syntax=docker/dockerfile:1 | ||
FROM golang:1.21.6-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 ./docker-generateconfig/anyconf.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# syntax=docker/dockerfile:1 | ||
FROM python:3.11-alpine | ||
WORKDIR /code | ||
COPY docker-generateconfig/env-requirements.txt requirements.txt | ||
RUN pip install -r requirements.txt | ||
ENTRYPOINT ./docker-generateconfig/env.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
# syntax=docker/dockerfile:1 | ||
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 ./docker-generateconfig/processing.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.