Skip to content

Commit

Permalink
chore: remove empty pairs file from each deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
paopa committed Jan 10, 2025
1 parent c79f907 commit 81f13bf
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 13 deletions.
6 changes: 1 addition & 5 deletions deployment/kustomizations/base/cm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -181,8 +181,4 @@ data:
langfuse_host: https://cloud.langfuse.com
langfuse_enable: true
logging_level: DEBUG
development: false
pairs.json: |
{
"sample": []
}
development: false
4 changes: 0 additions & 4 deletions deployment/kustomizations/base/deploy-wren-ai-service.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,6 @@ spec:
key: LANGFUSE_SECRET_KEY
- name: CONFIG_PATH
value: /app/data/config.yaml
- name: SQL_PAIRS_PATH
value: /app/data/pairs.json
ports:
- containerPort: 5555
volumes:
Expand All @@ -74,5 +72,3 @@ spec:
items:
- key: config.yaml
path: config.yaml
- key: pairs.json
path: pairs.json
2 changes: 0 additions & 2 deletions docker/docker-compose-dev.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,10 @@ services:
# using PYTHONUNBUFFERED: 1 can fix this
PYTHONUNBUFFERED: 1
CONFIG_PATH: /app/data/config.yaml
SQL_PAIRS_PATH: /app/data/pairs.json
env_file:
- ${PROJECT_DIR}/.env
volumes:
- ${PROJECT_DIR}/config.yaml:/app/data/config.yaml
- ${PROJECT_DIR}/pairs.json:/app/data/pairs.json
networks:
- wren
depends_on:
Expand Down
2 changes: 0 additions & 2 deletions docker/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,10 @@ services:
# using PYTHONUNBUFFERED: 1 can fix this
PYTHONUNBUFFERED: 1
CONFIG_PATH: /app/data/config.yaml
SQL_PAIRS_PATH: /app/data/pairs.json
env_file:
- ${PROJECT_DIR}/.env
volumes:
- ${PROJECT_DIR}/config.yaml:/app/data/config.yaml
- ${PROJECT_DIR}/pairs.json:/app/data/pairs.json
networks:
- wren
depends_on:
Expand Down

0 comments on commit 81f13bf

Please sign in to comment.