Skip to content

Commit 00c681f

Browse files
authored
Merge pull request #223 from maevsi/feat/reccoom/open-ai-credentials
feat(reccoom): add open ai api key secret
2 parents 86696f5 + e63dfea commit 00c681f

File tree

4 files changed

+13
-2
lines changed

4 files changed

+13
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,10 @@ This project is deployed in accordance to the [DargStack template](https://githu
118118

119119
The database's default user.
120120

121+
- ### `reccoom_openai-api-key`
122+
123+
The AI provider's API key for the recommendation engine.
124+
121125
- ### `sqitch_target`
122126

123127
The database change management application's database connection string.
@@ -152,7 +156,7 @@ This project is deployed in accordance to the [DargStack template](https://githu
152156

153157
- ### `vibetype_openai-api-key`
154158

155-
The AI provider's API key.
159+
The AI provider's API key for the frontend.
156160

157161
- ### `vibetype_turnstile-key`
158162

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
UNSET THIRD PARTY SECRET
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
sk-proj-<...>

src/development/stack.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,9 @@ secrets:
7676
postgres_user:
7777
# The database's default user.
7878
file: ./secrets/postgres/user.secret
79+
reccoom_openai-api-key:
80+
# The AI provider's API key for the recommendation engine.
81+
file: ./secrets/reccoom/openai-api-key.secret
7982
sqitch_target:
8083
# The database change management application's database connection string.
8184
file: ./secrets/sqitch/target.secret
@@ -95,7 +98,7 @@ secrets:
9598
# The project management software's configuration.
9699
file: ./secrets/vibetype/monday.secret
97100
vibetype_openai-api-key:
98-
# The AI provider's API key.
101+
# The AI provider's API key for the frontend.
99102
file: ./secrets/vibetype/openai-api-key.secret
100103
vibetype_turnstile-key:
101104
# The captcha provider's application key.
@@ -370,11 +373,13 @@ services:
370373
- traefik.http.services.reccoom.loadbalancer.server.port=5245
371374
environment:
372375
POSTGRES_HOST: postgres
376+
RECCOOM_POSTGRES_HOST: reccoom_postgres
373377
image: maevsi/reccoom:dev
374378
secrets:
375379
- postgres_db
376380
- postgres_password
377381
- postgres_user
382+
- reccoom_openai-api-key
378383
volumes:
379384
- ../../../reccoom/:/srv/app/ #DARGSTACK-REMOVE
380385
- ./configurations/postgraphile/jwtRS256.key.pub:/run/configurations/jwtRS256.key.pub:ro

0 commit comments

Comments
 (0)