Version 1
This commit is contained in:
@@ -0,0 +1,54 @@
|
||||
# Copy this file to one of:
|
||||
# - Env/.env.local
|
||||
# - Env/.env.production
|
||||
#
|
||||
# Notes:
|
||||
# - Use real secrets only in the ignored local files above.
|
||||
# - Local dev can rely on more app/compose defaults; production should set these explicitly.
|
||||
|
||||
## App runtime
|
||||
APP_NAME=royal-pop
|
||||
GO_ENV=production
|
||||
BACKEND_API_PORT=8081
|
||||
BACKEND_SHUTDOWN_TIMEOUT=10s
|
||||
|
||||
## Public URLs / frontend build args
|
||||
STOREFRONT_URL=https://example.com
|
||||
API_BASE_URL=https://api.example.com
|
||||
API_ALLOWED_ORIGINS=https://example.com,https://www.example.com
|
||||
ALLOWED_HOSTS=example.com,www.example.com
|
||||
|
||||
## Postgres / compose overrides
|
||||
POSTGRES_DB=royalpop
|
||||
POSTGRES_USER=royalpop
|
||||
POSTGRES_PASSWORD=change_me
|
||||
# Optional: override the compose-generated DATABASE_URL if needed.
|
||||
# DATABASE_URL=postgres://royalpop:change_me@postgres:5432/royalpop?sslmode=disable
|
||||
|
||||
## Client dashboard auth
|
||||
CLIENT_DASHBOARD_USERNAME=change_me
|
||||
CLIENT_DASHBOARD_PASSWORD=change_me
|
||||
CLIENT_DASHBOARD_SESSION_SECRET=generate_a_random_secret_here
|
||||
# Optional; defaults to 12h if omitted.
|
||||
CLIENT_DASHBOARD_SESSION_TTL=12h
|
||||
|
||||
## Email
|
||||
RESEND_API_KEY=replace_with_resend_api_key
|
||||
RESEND_ORDER_FROM=orders@example.com
|
||||
RESEND_FORWARD=orders@example.com
|
||||
|
||||
## Stripe
|
||||
STRIPE_PUBLISHABLE_KEY=replace_with_stripe_publishable_key
|
||||
STRIPE_SECRET_KEY=replace_with_stripe_secret_key
|
||||
STRIPE_WEBHOOK_SECRET=replace_with_stripe_webhook_secret
|
||||
STRIPE_PRICE_ID=replace_with_stripe_price_id
|
||||
STRIPE_CURRENCY=gbp
|
||||
|
||||
## Pricing
|
||||
ROYAL_POP_UNIT_AMOUNT=4999
|
||||
# Optional compare-at/reference amount used in some pricing responses.
|
||||
ROYAL_POP_RETAIL_AMOUNT=8999
|
||||
|
||||
## Remote registry compose / publish helpers
|
||||
# Optional; defaults to latest when omitted.
|
||||
# TAG=latest
|
||||
Reference in New Issue
Block a user