# The reports repository's own file. # # Applied with `--scope application --application-key reports`. This is the optional case: the # fragment also carries `analytics`, a database the target application owns. An application # fragment may declare a database only when the target owns it and no sibling is granted it. version: "1.18" applications: reports: runtime: go runtimeVersion: "1.27" source: root: . build: install: [go, mod, download] command: [go, build, -trimpath, -ldflags=-s, -o, bin/server, .] run: command: [./bin/server] port: 8081 healthPath: /health env: DATABASE_URL: {database: analytics, field: url} FEED_TOKEN: {secret: reporting_feed_token} PORT: "8081" databases: analytics: engine: postgres server: shared-postgres application: reports