mirror of
https://github.com/Dvorinka/Containr.git
synced 2026-10-28 15:51:26 +00:00
ci: inject throwaway auth secrets into smoke boot
Production validation rejects the compose placeholder secrets, so the backend panicked at config load and the container went unhealthy. Generate ephemeral BETTER_AUTH_SECRET and BETTER_AUTH_INTERNAL_TOKEN per run; verified locally that the container reaches healthy. Authored By: TDvorak <[email protected]> Generated with [Devin](https://devin.ai) Co-Authored-By: Devin <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
1 parent
2e7da73b1c
commit
0f984fb579
1 file changed
+2
@@ -86,6 +86,8 @@ jobs:
|
|||||||
|
|
||||||
- name: Boot stack
|
- name: Boot stack
|
||||||
run: |
|
run: |
|
||||||
|
export BETTER_AUTH_SECRET=$(openssl rand -hex 32)
|
||||||
|
export BETTER_AUTH_INTERNAL_TOKEN=$(openssl rand -hex 32)
|
||||||
docker compose -f infra/docker-compose.yml up -d --build postgres redis backend frontend traefik
|
docker compose -f infra/docker-compose.yml up -d --build postgres redis backend frontend traefik
|
||||||
|
|
||||||
- name: Wait for backend health
|
- name: Wait for backend health
|
||||||
|
|||||||
Reference in new issue
Block a user