forked from badtuxx/giropops-senhas
-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
nataliagranato
committed
Aug 8, 2024
1 parent
df856f8
commit c6b01c8
Showing
26 changed files
with
73 additions
and
240 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
.github | ||
manifests | ||
.gitignore | ||
Dockerfile | ||
docker-compose.yml | ||
helmfile.yaml | ||
LICENSE | ||
README.md |
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,14 @@ | ||
FROM cgr.dev/chainguard/python:latest-dev as builder | ||
WORKDIR /app | ||
COPY . /app | ||
RUN pip install --no-cache-dir -r requirements.txt --user | ||
|
||
FROM cgr.dev/chainguard/python:latest-dev | ||
WORKDIR /app | ||
COPY --from=builder /home/nonroot/.local/lib/python3.12/site-packages /home/nonroot/.local/lib/python3.12/site-packages | ||
COPY --from=builder /app /app | ||
|
||
ENV REDIS_HOST="redis-server" | ||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \ | ||
CMD curl --fail http://localhost:5000/health || exit 1 | ||
ENTRYPOINT ["python", "-m", "flask", "run", "--host=0.0.0.0"] |
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,7 @@ | ||
FROM cgr.dev/chainguard/redis:latest | ||
|
||
COPY redis.conf /etc/redis/redis.conf | ||
|
||
EXPOSE 6379 | ||
|
||
ENTRYPOINT [ "redis-server", "/etc/redis/redis.conf" ] |
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
charts/giropops-senhas-chart/templates/database-configmap.yaml
This file was deleted.
Oops, something went wrong.
26 changes: 0 additions & 26 deletions
26
charts/giropops-senhas-chart/templates/giropops-senhas-deployments.yaml
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
charts/giropops-senhas-chart/templates/giropops-senhas-service.yaml
This file was deleted.
Oops, something went wrong.
4 changes: 0 additions & 4 deletions
4
charts/giropops-senhas-chart/templates/observability-configmap.yaml
This file was deleted.
Oops, something went wrong.
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
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 @@ | ||
teste |
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.