From adc7d01c1940aecebca5c1f274610fb85bf8f21e Mon Sep 17 00:00:00 2001 From: mdr223 Date: Tue, 7 Nov 2023 13:53:16 -0500 Subject: [PATCH] add pg passwords to chat in compose --- deploy/prod-801/prod-801-compose.yaml | 2 ++ deploy/prod-root/prod-root-compose.yaml | 2 ++ deploy/prod/prod-compose.yaml | 2 ++ 3 files changed, 6 insertions(+) diff --git a/deploy/prod-801/prod-801-compose.yaml b/deploy/prod-801/prod-801-compose.yaml index 50612dce..7b49544c 100644 --- a/deploy/prod-801/prod-801-compose.yaml +++ b/deploy/prod-801/prod-801-compose.yaml @@ -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: diff --git a/deploy/prod-root/prod-root-compose.yaml b/deploy/prod-root/prod-root-compose.yaml index f581b2d7..320aa17d 100644 --- a/deploy/prod-root/prod-root-compose.yaml +++ b/deploy/prod-root/prod-root-compose.yaml @@ -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: diff --git a/deploy/prod/prod-compose.yaml b/deploy/prod/prod-compose.yaml index 8bf7d66a..eb7b8fba 100644 --- a/deploy/prod/prod-compose.yaml +++ b/deploy/prod/prod-compose.yaml @@ -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: