Skip to content

Commit 7a31622

Browse files
committed
Save litellm logs
1 parent 54d73de commit 7a31622

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,16 @@ services:
8989
hostname: litellm-${CLIMATECLAW_INSTANCE_NAME}
9090
volumes:
9191
- ./litellm_config.yaml:/app/config.yaml # Mount the local litellm_config.yaml file to the container
92+
- /container/da/climateclaw-links/${CLIMATECLAW_INSTANCE_NAME}/logs:/app/logs
93+
entrypoint: ["/bin/sh", "-c"]
9294
command: >
95+
litellm
9396
--config=/app/config.yaml
9497
--port=4000
9598
--num_workers=8
9699
--run_gunicorn
100+
--detailed_debug
101+
2>&1 | tee -a /app/logs/litellm.log
97102
env_file: .env
98103
networks:
99104
- climateclaw

0 commit comments

Comments
 (0)