fix(docker): pass missing env vars to auth service

AUTH_BASE_URL, FRONTEND_URL, INTERNAL_API_KEY, SESSION_SECRET,
COOKIE_SECURE, COOKIE_DOMAIN, REFRESH_COOKIE_NAME were in .env
but not passed to auth container. OAuth callbacks were using
localhost:8001 instead of the public URL.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Manmohan Sharma 2026-04-16 13:53:52 -07:00
parent bfa34a8a0e
commit b7971313ba
No known key found for this signature in database

View File

@ -40,6 +40,13 @@ services:
GITHUB_CLIENT_SECRET: ${GITHUB_CLIENT_SECRET:-}
JWT_PRIVATE_KEY: ${JWT_PRIVATE_KEY:-}
JWT_PUBLIC_KEY: ${JWT_PUBLIC_KEY:-}
AUTH_BASE_URL: ${AUTH_BASE_URL:-http://localhost:8001}
FRONTEND_URL: ${FRONTEND_URL:-http://localhost:3000}
INTERNAL_API_KEY: ${INTERNAL_API_KEY:-}
SESSION_SECRET: ${SESSION_SECRET:-changeme}
COOKIE_SECURE: ${COOKIE_SECURE:-false}
COOKIE_DOMAIN: ${COOKIE_DOMAIN:-}
REFRESH_COOKIE_NAME: ${REFRESH_COOKIE_NAME:-samosachaat_refresh}
depends_on:
- postgres