Skip to content

Commit

Permalink
build: add more environment variables for docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
JonBergland committed Oct 17, 2024
1 parent ef2e0bc commit a56bcd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@ services:

llm-service:
build: ./core
env_file: .env
restart: unless-stopped
environment:
- FLASK_ENV=development # Autorestarts flask when code changes are detected
- OPENAI_API_KEY=${OPENAI_API_KEY}
- LANGSMITH_API_KEY=&{LANGSMITH_API_KEY}
- PORT=&{PORT}
volumes:
- ./core:/app # Mount the application code to detect live changes
networks:
Expand Down

0 comments on commit a56bcd7

Please sign in to comment.