Skip to content

Commit 09a274a

Browse files
committed
fix: pin chroma db version and clean up
1 parent 2dfe938 commit 09a274a

File tree

6 files changed

+209
-252
lines changed

6 files changed

+209
-252
lines changed

compose.yaml

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,29 +3,20 @@ services:
33
image: dunglas/frankenphp
44
volumes:
55
- ./:/app
6-
- caddy_data:/data
7-
- caddy_config:/config
86
ports:
97
- 443:443
108
tty: true
11-
environment:
12-
- FRANKENPHP_CONFIG="worker ./public/index.php"
13-
- APP_RUNTIME=Runtime\FrankenPhpSymfony\Runtime
149

1510
composer:
1611
image: composer:latest
1712
volumes:
1813
- ./:/app
1914

2015
chromadb:
21-
image: chromadb/chroma:latest
16+
image: chromadb/chroma:0.5.23
2217
volumes:
2318
- ./chromadb:/chroma/chroma
2419
environment:
2520
- IS_PERSISTENT=TRUE
2621
- PERSIST_DIRECTORY=/chroma/chroma # this is the default path, change it as needed
2722
- ANONYMIZED_TELEMETRY=FALSE
28-
29-
volumes:
30-
caddy_data:
31-
caddy_config:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
"php": ">=8.4",
88
"ext-ctype": "*",
99
"ext-iconv": "*",
10-
"codewithkyrian/chromadb-php": "^0.3.0",
10+
"codewithkyrian/chromadb-php": "^0.4.0",
1111
"league/commonmark": "^2.7",
1212
"php-llm/llm-chain-bundle": "^0.20.2",
1313
"runtime/frankenphp-symfony": "^0.2.0",

0 commit comments

Comments
 (0)