Skip to content

Commit

Permalink
Merge pull request #145 from mit-submit/hotfix/add-pg-password-to-chat
Browse files Browse the repository at this point in the history
add pg passwords to chat in compose
  • Loading branch information
ludomori99 authored Nov 7, 2023
2 parents 719c28a + adc7d01 commit bfcfadb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions deploy/prod-801/prod-801-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@ services:
RUNTIME_ENV: prod-801
OPENAI_API_KEY_FILE: /run/secrets/openai_api_key
HUGGING_FACE_HUB_TOKEN_FILE: /run/secrets/hf_token
POSTGRES_PASSWORD_FILE: /run/secrets/pg_password
secrets:
- openai_api_key
- hf_token
- pg_password
volumes:
- a2rchi-prod-801-data:/root/data/
logging:
Expand Down
2 changes: 2 additions & 0 deletions deploy/prod-root/prod-root-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ services:
RUNTIME_ENV: prod-root
OPENAI_API_KEY_FILE: /run/secrets/openai_api_key
HUGGING_FACE_HUB_TOKEN_FILE: /run/secrets/hf_token
POSTGRES_PASSWORD_FILE: /run/secrets/pg_password
secrets:
- openai_api_key
- hf_token
- pg_password
volumes:
- a2rchi-prod-root-data:/root/data/
ports:
Expand Down
2 changes: 2 additions & 0 deletions deploy/prod/prod-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,11 @@ services:
RUNTIME_ENV: prod
OPENAI_API_KEY_FILE: /run/secrets/openai_api_key
HUGGING_FACE_HUB_TOKEN_FILE: /run/secrets/hf_token
POSTGRES_PASSWORD_FILE: /run/secrets/pg_password
secrets:
- openai_api_key
- hf_token
- pg_password
volumes:
- a2rchi-prod-data:/root/data/
logging:
Expand Down

0 comments on commit bfcfadb

Please sign in to comment.