Deploy to Staging / deploy (push) Waiting to run
Lint Backend / lint-backend (push) Waiting to run
Playwright Tests / changes (push) Waiting to run
Playwright Tests / test-playwright (1, 4) (push) Blocked by required conditions
Playwright Tests / test-playwright (2, 4) (push) Blocked by required conditions
Playwright Tests / test-playwright (3, 4) (push) Blocked by required conditions
Playwright Tests / test-playwright (4, 4) (push) Blocked by required conditions
Playwright Tests / merge-playwright-reports (push) Blocked by required conditions
Playwright Tests / alls-green-playwright (push) Blocked by required conditions
Test Backend / test-backend (push) Waiting to run
Test Docker Compose / test-docker-compose (push) Waiting to run
46 lines
1.2 KiB
Bash
46 lines
1.2 KiB
Bash
# Domain
|
|
# This would be set to the production domain with an env var on deployment
|
|
# used by Traefik to transmit traffic and aqcuire TLS certificates
|
|
DOMAIN=localhost
|
|
# To test the local Traefik config
|
|
# DOMAIN=localhost.tiangolo.com
|
|
|
|
# Used by the backend to generate links in emails to the frontend
|
|
FRONTEND_HOST=http://localhost:5173
|
|
# In staging and production, set this env var to the frontend host, e.g.
|
|
# FRONTEND_HOST=https://dashboard.example.com
|
|
|
|
# Environment: local, staging, production
|
|
ENVIRONMENT=local
|
|
|
|
PROJECT_NAME="BaiPanSou"
|
|
STACK_NAME=BaiPanSou
|
|
|
|
# Backend
|
|
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
|
|
SECRET_KEY=baomihua200712
|
|
FIRST_SUPERUSER=mzaxd0712@gmail.com
|
|
FIRST_SUPERUSER_PASSWORD=baomihua8434386
|
|
|
|
# Emails
|
|
SMTP_HOST=
|
|
SMTP_USER=
|
|
SMTP_PASSWORD=
|
|
EMAILS_FROM_EMAIL=info@example.com
|
|
SMTP_TLS=True
|
|
SMTP_SSL=False
|
|
SMTP_PORT=587
|
|
|
|
# Postgres
|
|
POSTGRES_SERVER=192.168.1.99
|
|
POSTGRES_PORT=5432
|
|
POSTGRES_DB=bps_dev
|
|
POSTGRES_USER=mzaxd
|
|
POSTGRES_PASSWORD=rootroot
|
|
|
|
SENTRY_DSN=
|
|
|
|
# Configure these with your own Docker registry images
|
|
DOCKER_IMAGE_BACKEND=backend
|
|
DOCKER_IMAGE_FRONTEND=frontend
|