mirror of
https://github.com/placeholder-soft/chroma.git
synced 2026-04-29 04:14:59 +08:00
working commit 1
This commit is contained in:
39
docker-compose.yml
Normal file
39
docker-compose.yml
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user