# The admin repository's own file. # # Applied with `--scope application --application-key admin`. Its migration is a pre-release task. version: "1.18" applications: admin: runtime: rust runtimeVersion: "1.99" source: root: . build: install: [cargo, fetch, --locked] command: [cargo, install, --path, ., --root, ., --locked, --offline, --bin, admin] run: command: [./bin/admin] port: 3001 healthPath: /health env: RUST_LOG: info APP_SECRET: {secret: app_secret} DATABASE_URL: {database: admin, field: url} release: command: [./bin/admin, migrate] timeoutSeconds: 300 env: APP_SECRET: {secret: app_secret} DATABASE_URL: {database: admin, field: url}