Improving Win95 styling
This commit is contained in:
@@ -8,6 +8,8 @@
|
||||
# Required env vars (load via .env.prod on the server):
|
||||
# POSTGRES_USER, POSTGRES_PASSWORD — credentials for gnommo-db (shared)
|
||||
# LAB_DB (optional) — database name within gnommo-db (default: ca_studio)
|
||||
# JWT_SECRET — same secret used by gnommoweb auth JWTs
|
||||
# GNOMMOWEB_URL — e.g. https://glitch.university
|
||||
|
||||
services:
|
||||
|
||||
@@ -43,6 +45,13 @@ services:
|
||||
NODE_ENV: production
|
||||
PORT: "3100"
|
||||
DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@gnommo-db:5432/${LAB_DB:-ca_studio}
|
||||
JWT_SECRET: ${JWT_SECRET}
|
||||
LAB_AUTH_ENABLED: ${LAB_AUTH_ENABLED:-true}
|
||||
LAB_KEYCARD_REQUIRED: ${LAB_KEYCARD_REQUIRED:-true}
|
||||
GNOMMOWEB_URL: ${GNOMMOWEB_URL:-https://glitch.university}
|
||||
LAB_KEYCARD_MERIT_SLUG: ${LAB_KEYCARD_MERIT_SLUG:-lab-keycard}
|
||||
LAB_USER_PROFILE_URL: ${LAB_USER_PROFILE_URL:-https://glitch.university/api/user/profile}
|
||||
LAB_SIGN_IN_URL: ${LAB_SIGN_IN_URL:-https://glitch.university/auth/google?returnTo={returnTo}}
|
||||
# Run pending migrations before starting the server.
|
||||
# The lab's migrate script is idempotent (CREATE TABLE IF NOT EXISTS).
|
||||
command: sh -c "node scripts/migrate.mjs && node dist/server.js"
|
||||
|
||||
Reference in New Issue
Block a user