forked from mindsdb/mindsdb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
42 lines (40 loc) · 1.42 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
services:
mindsdb:
image: mindsdb/mindsdb:devel
# If you want to build the image instead:
# build:
# context: .
# dockerfile: docker/mindsdb.Dockerfile
# target: dev # Makes sure dev dependencies are installed
restart: always
ports:
- '47334:47334'
- '47335:47335'
- '47336:47336'
# watchfiles will reload the app when python files are changed
entrypoint: bash -c "watchfiles --filter python 'python -m mindsdb' ."
environment:
MINDSDB_DOCKER_ENV: "True"
MINDSDB_STORAGE_DIR: "/mindsdb/var"
FLASK_DEBUG: 1 # This will make sure http requests are logged regardless of log level
SENTRY_IO_DSN: ""
SENTRY_IO_ENVIRONMENT: "local"
# SENTRY_IO_FORCE_RUN: "true" # Uncomment me to force-start sentry on local development. Good for profiling, but may annoy other devs on sentry.io with the "noise"
# MINDSDB_LOG_LEVEL: "DEBUG"
# OPENAI_API_KEY: "..."
LANGFUSE_HOST: "OMITTED_FOR_SECURITY"
LANGFUSE_PUBLIC_KEY: "OMITTED_FOR_SECURITY"
LANGFUSE_SECRET_KEY: "OMITTED_FOR_SECURITY"
LANGFUSE_RELEASE: "local"
# LANGFUSE_DEBUG: "True"
LANGFUSE_TIMEOUT: "10"
LANGFUSE_SAMPLE_RATE: "1.0"
volumes:
- type: bind
source: .
target: /mindsdb
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:47334/api/util/ping"]
interval: 30s
timeout: 4s
retries: 100