Commit Graph

9 Commits

Author SHA1 Message Date
3f6b9a4f81 propagate authentik env into web build 2026-04-03 19:01:17 +02:00
dcfe207389 wire authentik env vars in compose 2026-04-03 18:47:42 +02:00
5ccae82cfd load env file for compose services 2026-04-03 18:45:32 +02:00
bd116ff247 fix(docker): correct minio environment variable format 2026-04-02 20:47:53 +02:00
02a682b401 fix(networking): update MINIO_ENDPOINT to use public URL and allow trailing slashes in FastAPI 2026-04-02 20:46:19 +02:00
Claude
f3d1ddad5d Fix API URL config: use Next.js rewrite proxy instead of NEXT_PUBLIC_*
NEXT_PUBLIC_* is baked at build time so runtime docker-compose environment
vars have no effect. Instead:
- next.config.ts rewrites /api/* -> API_BASE_URL/api/* at the server level
- api.ts uses relative paths (no env var in client bundle at all)
- docker-compose passes API_BASE_URL=http://cvfs-backend:8080 at runtime
- Dockerfile no longer needs any build args

Requests: browser -> Next.js server (/api/*) -> cvfs-backend:8080 (/api/*)

https://claude.ai/code/session_01Xmxm2QLgFBgRJyYD6VukR6
2026-04-02 18:23:58 +00:00
Claude
53a05feae5 Fix NEXT_PUBLIC_API_BASE_URL not applying in production build
NEXT_PUBLIC_* vars are inlined at build time, not runtime.
Pass as Docker build arg so Next.js picks it up during bun run build.

https://claude.ai/code/session_01Xmxm2QLgFBgRJyYD6VukR6
2026-04-02 18:21:28 +00:00
c441e53be4 Update docker-compose.yml for single service deployment with Dokploy Traefik 2026-04-02 19:19:10 +02:00
Daniel Alves Rösel
90ad5e0260 Initial commit 2026-04-02 18:47:14 +02:00