Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,10 @@ This project is deployed in accordance to the [DargStack template](https://githu

The AI provider's API key for the recommendation engine.

- ### `reccoom_sentry-dsn`

The Sentry DSN for the AI service.

- ### `sqitch_target`

The database change management application's database connection string.
Expand Down
1 change: 1 addition & 0 deletions src/development/secrets/reccoom/sentry-dsn.secret
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
UNSET THIRD PARTY SECRET
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
https://<string>@<string>.ingest.de.sentry.io/<numbers>
9 changes: 9 additions & 0 deletions src/development/stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,9 @@ secrets:
reccoom_openai-api-key:
# The AI provider's API key for the recommendation engine.
file: ./secrets/reccoom/openai-api-key.secret
reccoom_sentry-dsn:
# The Sentry DSN for the AI service.
file: ./secrets/reccoom/sentry-dsn.secret
sqitch_target:
# The database change management application's database connection string.
file: ./secrets/sqitch/target.secret
Expand Down Expand Up @@ -567,6 +570,8 @@ services:
target: /run/environment-variables/MODEL_API_KEY
- source: reccoom_openai-api-key
target: /run/environment-variables/OPENAI_API_KEY
- source: reccoom_sentry-dsn
target: /run/environment-variables/SENTRY_DSN
volumes:
- ../../../reccoom/:/srv/app/ #DARGSTACK-REMOVE
- ./configurations/postgraphile/jwtES256.key.pub:/run/configurations/jwtES256.key.pub:ro
Expand Down Expand Up @@ -594,6 +599,8 @@ services:
target: /run/environment-variables/POSTGRES_PASSWORD
- source: postgres_password
target: /run/environment-variables/RECCOOM_POSTGRES_PASSWORD
- source: reccoom_sentry-dsn
target: /run/environment-variables/SENTRY_DSN
volumes:
- reccoom_fastembed_data:/tmp/fastembed_cache/
- ../../../reccoom/:/srv/app/ #DARGSTACK-REMOVE
Expand All @@ -613,6 +620,8 @@ services:
target: /run/environment-variables/RECCOOM_POSTGRES_USER
- source: postgres_password
target: /run/environment-variables/RECCOOM_POSTGRES_PASSWORD
- source: reccoom_sentry-dsn
target: /run/environment-variables/SENTRY_DSN
volumes:
- ../../../reccoom/:/srv/app/
reccoom_postgres:
Expand Down
6 changes: 6 additions & 0 deletions src/production/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,10 +70,16 @@ services:
- traefik.http.routers.prometheus_secure.tls.certresolver=default
reccoom:
deploy: (( prune ))
environment:
SENTRY_TRACES_SAMPLE_RATE: "0.1"
image: ghcr.io/maevsi/reccoom:0.18.4
Comment thread
dargmuesli marked this conversation as resolved.
reccoom_consumer:
environment:
SENTRY_TRACES_SAMPLE_RATE: "0.1"
image: ghcr.io/maevsi/reccoom:0.18.4
Comment thread
dargmuesli marked this conversation as resolved.
reccoom_migration:
environment:
SENTRY_TRACES_SAMPLE_RATE: "0.1"
image: ghcr.io/maevsi/reccoom:0.18.4
Comment thread
dargmuesli marked this conversation as resolved.
volumes: (( prune ))
redpanda-console:
Expand Down
Loading