mirror of
https://github.com/dataforcanada/d4c-infra-distribution.git
synced 2026-06-13 22:20:55 +02:00
28 lines
738 B
TOML
28 lines
738 B
TOML
name = "cf-data-ingestor"
|
|
main = "src/index.js"
|
|
compatibility_date = "2026-03-08"
|
|
routes = [
|
|
{ pattern = "cf-data-ingestor.labs.dataforcanada.org", custom_domain = true }
|
|
]
|
|
|
|
# ------------------------------------------------------------------
|
|
# Secrets (set via `wrangler secret put <NAME>`):
|
|
# AUTH_TOKEN
|
|
# AWS_ACCESS_KEY_ID
|
|
# AWS_SECRET_ACCESS_KEY
|
|
# ------------------------------------------------------------------
|
|
|
|
# Non-secret environment variables
|
|
[vars]
|
|
S3_BUCKET = "us-west-2.opendata.source.coop"
|
|
S3_REGION = "us-west-2"
|
|
S3_ENDPOINT = ""
|
|
|
|
[placement]
|
|
# TODO: parametize so user can specifically set where they want the worker to run
|
|
#mode = "smart"
|
|
hostname = "diffusion.mern.gouv.qc.ca"
|
|
|
|
[observability]
|
|
enabled = true
|