working commit 1

This commit is contained in:
Jeffrey Huber
2022-11-03 15:56:14 -07:00
parent 6b87b2ed48
commit fb39faedcc
6 changed files with 213 additions and 25 deletions

39
docker-compose.yml Normal file
View File

@@ -0,0 +1,39 @@
version: '3.9'
networks:
my-network:
driver: bridge
services:
server:
build:
context: ./chroma-server
dockerfile: Dockerfile
volumes:
- ./chroma-server/:/chroma-server/
command: uvicorn chroma_server:app --reload --workers 1 --host 0.0.0.0 --port 8000
# env_file:
# - ./chroma-server/.env
ports:
- 8000:8000
depends_on:
- clickhouse
networks:
- my-network
clickhouse:
image: docker.io/bitnami/clickhouse:22.9
environment:
- ALLOW_EMPTY_PASSWORD=yes
ports:
- '8123:8123'
- '9000:9000'
volumes:
- clickhouse_data:/bitnami/clickhouse
networks:
- my-network
volumes:
clickhouse_data:
driver: local