Files
service-state/apps/url-shortener/overlays/prod/configmap.yaml
T

21 lines
550 B
YAML

apiVersion: v1
kind: ConfigMap
metadata:
name: url-shortener-config
data:
APP_ENV: prod
HOST: 0.0.0.0
PORT: "3000"
DEV_AUTH_ENABLED: "false"
APP_ORIGIN: https://urls.dahyeon.us
API_ORIGIN: https://urls-api.dahyeon.us
SHORT_ORIGIN: https://rabbitma.us
SESSION_HOURS: "8"
# Set during promotion; database ID must match deploy/cloudflare/prod.json in the source revision.
CLOUDFLARE_ACCOUNT_ID: ""
CLOUDFLARE_D1_DATABASE_ID: ""
PUBLISH_WAIT_MS: "1500"
JOB_POLL_MS: "1000"
STATS_INTERVAL_MS: "60000"
API_RATE_LIMIT: "300"