-
Notifications
You must be signed in to change notification settings - Fork 1
/
dbos-config.yaml
45 lines (43 loc) · 1.33 KB
/
dbos-config.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# To enable auto-completion and validation for this file in VSCode, install the RedHat YAML extension
# https://marketplace.visualstudio.com/items?itemName=redhat.vscode-yaml
# yaml-language-server: $schema=https://raw.githubusercontent.com/dbos-inc/dbos-sdk/main/dbos-config.schema.json
database:
hostname: 'localhost'
port: 5432
username: 'postgres'
password: ${PGPASSWORD}
app_db_name: 'cloud_account'
connectionTimeoutMillis: 3000
app_db_client: 'knex'
migrate:
- npx knex migrate:latest
rollback:
- npx knex migrate:rollback
env:
APP_DBOS_DOMAIN: ${APP_DBOS_DOMAIN}
STRIPE_SECRET_KEY: ${STRIPE_SECRET_KEY}
DBOS_LOGIN_REFRESH_TOKEN: ${DBOS_LOGIN_REFRESH_TOKEN}
STRIPE_DBOS_PRO_PRICE: ${STRIPE_DBOS_PRO_PRICE}
STRIPE_WEBHOOK_SECRET: ${STRIPE_WEBHOOK_SECRET}
ZAZU_SLACK_TOKEN: ${ZAZU_SLACK_TOKEN}
ZAZU_SLACK_CHANNEL: ${ZAZU_SLACK_CHANNEL}
DBOS_TEST_USER: ${DBOS_TEST_USER}
runtimeConfig:
entrypoints:
- "dist/endpoints.js"
- "dist/subscription.js"
http:
cors_middleware: true
credentials: true
allowed_origins:
- 'https://dbos.webflow.io'
- 'https://www.dbos.dev'
- 'https://dbos.dev'
- 'https://console.dbos.dev'
- 'https://staging.console.dbos.dev'
- 'http://localhost:3000'
- 'http://localhost:4173'
- 'http://localhost:5173'
telemetry:
logs:
logLevel: 'info'