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

21 lines
618 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: "e80e9f6a4c0ce49c1047c970919f3aa6"
CLOUDFLARE_D1_DATABASE_ID: "c01c4d75-90d8-424e-b9d4-717e3ee4de35"
PUBLISH_WAIT_MS: "1500"
JOB_POLL_MS: "1000"
STATS_INTERVAL_MS: "60000"
API_RATE_LIMIT: "300"