Wrangling the wrangler

This commit is contained in:
2026-06-21 06:00:20 -04:00
parent ed7597f879
commit 72731306ff
8 changed files with 170 additions and 131 deletions
+18
View File
@@ -0,0 +1,18 @@
# Copy to .env.worker.prod and fill in the values for production deploys.
PUBLIC_SITE_URL=https://swansea-airport.wales
PUBLIC_PPR_API_BASE=https://ppr.swansea-airport.wales/api/v1
PUBLIC_WEATHER_BASE=https://wx.swansea-airport.wales
PUBLIC_WEATHER_MQTT_HOST=https://wx.swansea-airport.wales/mqtt
DIRECTUS_URL=https://cms.swansea-airport.wales
DIRECTUS_PUBLIC_URL=https://cms.swansea-airport.wales
DIRECTUS_ADMIN_TOKEN=replace-with-production-directus-token
DIRECTUS_HOMEPAGE_BANNER_FOLDER=homepage-banners
CF_WORKER_NAME=swansea-airfield
CF_WORKER_COMPATIBILITY_DATE=2026-06-21
# Optional. Use one of these if you want the deploy command to attach a route or custom domain.
# CF_WORKER_ROUTE=swansea-airport.wales/*
# CF_WORKER_DOMAIN=swansea-airport.wales
CLOUDFLARE_ACCOUNT_ID=replace-with-cloudflare-account-id
CLOUDFLARE_API_TOKEN=replace-with-cloudflare-api-token