Some checks are pending
Build / build (push) Waiting to run
Deploy / deploy (push) Waiting to run
Lint & Type Check / lint (push) Waiting to run
Security Scan / semgrep (push) Waiting to run
Security Scan / dependency-check (push) Waiting to run
Test / test (18.x) (push) Waiting to run
Test / test (20.x) (push) Waiting to run
VITE_* variables are baked into the bundle at vite build time. Docker's env_file only applies at runtime, so they were missing from the build. Pass them as ARGs from docker-compose so the client bundle includes the correct Supabase URL and anon key. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
371 B
YAML
14 lines
371 B
YAML
services:
|
|
aethex-forge:
|
|
build:
|
|
context: .
|
|
args:
|
|
- VITE_SUPABASE_URL=${VITE_SUPABASE_URL}
|
|
- VITE_SUPABASE_ANON_KEY=${VITE_SUPABASE_ANON_KEY}
|
|
- VITE_AUTHENTIK_PROVIDER=${VITE_AUTHENTIK_PROVIDER}
|
|
container_name: aethex-forge
|
|
restart: unless-stopped
|
|
ports:
|
|
- "5050:5000"
|
|
env_file: .env
|
|
command: npm run dev
|