mirror of
https://github.com/karpathy/nanochat.git
synced 2026-05-25 17:18:01 +00:00
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:
parent
bfa34a8a0e
commit
b7971313ba
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user