Files
wehub-resource-sync 75f3dd141c
CI and Release / e2e-verification-agent (push) Blocked by required conditions
CI and Release / test-backend (push) Blocked by required conditions
CI and Release / build-dev-image (push) Waiting to run
CI and Release / push-dev-image (push) Blocked by required conditions
CI and Release / build-image (push) Blocked by required conditions
CI and Release / build-verification-image (push) Blocked by required conditions
CI and Release / determine-version (push) Blocked by required conditions
CI and Release / push-image (push) Blocked by required conditions
CI and Release / push-verification-image (12) (push) Blocked by required conditions
CI and Release / push-verification-image (18) (push) Blocked by required conditions
CI and Release / release (push) Blocked by required conditions
CI and Release / publish-helm-chart (push) Blocked by required conditions
CI and Release / lint-backend (push) Waiting to run
CI and Release / lint-frontend (push) Waiting to run
CI and Release / dockerfile-scan (push) Waiting to run
CI and Release / test-frontend (push) Blocked by required conditions
CI and Release / lint-verification-agent (push) Waiting to run
CI and Release / test-verification-agent (push) Blocked by required conditions
CI and Release / push-verification-image (13) (push) Blocked by required conditions
CI and Release / push-verification-image (14) (push) Blocked by required conditions
CI and Release / push-verification-image (15) (push) Blocked by required conditions
CI and Release / push-verification-image (16) (push) Blocked by required conditions
CI and Release / push-verification-image (17) (push) Blocked by required conditions
CodeQL / Analyze (go) (push) Has been cancelled
CodeQL / Analyze (actions) (push) Has been cancelled
CodeQL / Analyze (javascript-typescript) (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 13:11:07 +08:00

70 lines
1.7 KiB
Bash

# app
ENV_MODE=development
SHOW_DB_INSTALLATION_VERIFICATION_LOGS=true
# dev DB (used by docker-compose.yml and backend)
DEV_DB_NAME=databasus
DEV_DB_USERNAME=postgres
DEV_DB_PASSWORD=Q1234567
DATABASE_DSN="host=localhost user=postgres password=Q1234567 dbname=databasus port=5437 sslmode=disable"
DATABASE_URL=postgres://postgres:Q1234567@localhost:5437/databasus?sslmode=disable
# test DB (used by backend when IsTesting=true so tests don't pollute the dev DB)
TEST_DATABASE_DSN="host=localhost user=postgres password=Q1234567 dbname=databasus port=5438 sslmode=disable"
# migrations
GOOSE_DRIVER=postgres
GOOSE_DBSTRING=postgres://postgres:Q1234567@localhost:5437/databasus?sslmode=disable
GOOSE_TEST_DBSTRING=postgres://postgres:Q1234567@localhost:5438/databasus?sslmode=disable
# valkey
VALKEY_HOST=127.0.0.1
VALKEY_PORT=6379
VALKEY_USERNAME=
VALKEY_PASSWORD=
VALKEY_IS_SSL=false
# logging
VICTORIA_LOGS_URL=
VICTORIA_LOGS_PASSWORD=
# tests
TEST_PARALLEL_WORKERS=8
TEST_LOCALHOST=localhost
TEST_LOGICAL_POSTGRES_16_PORT=5004
TEST_PHYSICAL_POSTGRES_17_PORT=5007
TEST_PHYSICAL_POSTGRES_18_PORT=5008
# wal-backup (live remote-WAL test rig)
WAL_BACKUP_POSTGRES_18_PORT=5018
WAL_BACKUP_DB_NAME=testdb
WAL_BACKUP_DB_USER=testuser
WAL_BACKUP_DB_PASSWORD=testpassword
# oauth
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
# cloudflare turnstile
CLOUDFLARE_TURNSTILE_SITE_KEY=
CLOUDFLARE_TURNSTILE_SECRET_KEY=
# smtp
SMTP_HOST=test-mailpit
SMTP_PORT=1025
SMTP_USER=info@databasus.com
SMTP_PASSWORD=password
SMTP_FROM=info@databasus.com
SMTP_INSECURE_SKIP_VERIFY=false
# domain (used in email links)
DATABASUS_URL=
# frontend (vite)
VITE_GITHUB_CLIENT_ID=
VITE_GOOGLE_CLIENT_ID=
VITE_IS_EMAIL_CONFIGURED=false
VITE_CLOUDFLARE_TURNSTILE_SITE_KEY=