Skip to content

Commit

Permalink
Merge pull request #17 from langchain-ai/eugene/add_docker_compose
Browse files Browse the repository at this point in the history
Add docker compose file
  • Loading branch information
eyurtsev authored Nov 10, 2023
2 parents ab63007 + a88ad6f commit fea1721
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
OPENAI_API_KEY=placeholder
ANTHROPIC_API_KEY=placeholder
19 changes: 19 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: '3'

services:
redis:
image: redislabs/redisearch:latest
container_name: redis
backend:
build:
context: . # Use the current directory as the build context
dockerfile: Dockerfile # Specify the custom Dockerfile
ports:
- "8001:8001"
depends_on:
- redis
env_file:
- .env # Use the .env file to load environment variables
environment:
PORT: 8001
REDIS_URL: "redis://redis:6379"

0 comments on commit fea1721

Please sign in to comment.