forked from Josh-XT/AGiXT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-dev.yml
52 lines (52 loc) · 1.59 KB
/
docker-compose-dev.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
43
44
45
46
47
48
49
50
51
52
version: "3.7"
services:
db:
image: postgres
ports:
- 5432:5432
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: ${DATABASE_PASSWORD:-postgres}
POSTGRES_DB: postgres
volumes:
- ./data:/var/lib/postgresql/data
agixt:
image: joshxt/agixt:main
init: true
environment:
- DB_CONNECTED=${DB_CONNECTED:-false}
- DATABASE_HOST=${DATABASE_HOST:-db}
- DATABASE_USER=${DATABASE_USER:-postgres}
- DATABASE_PASSWORD=${DATABASE_PASSWORD:-postgres}
- DATABASE_NAME=${DATABASE_NAME:-postgres}
- DATABASE_PORT=${DATABASE_PORT:-5432}
- UVICORN_WORKERS=${UVICORN_WORKERS:-10}
- USING_JWT=${USING_JWT:-false}
- AGIXT_API_KEY=${AGIXT_API_KEY}
- DISABLED_EXTENSIONS=${DISABLED_EXTENSIONS:-}
- DISABLED_PROVIDERS=${DISABLED_PROVIDERS:-}
- WORKING_DIRECTORY=${WORKING_DIRECTORY:-/agixt/WORKSPACE}
- TOKENIZERS_PARALLELISM=False
- TZ=${TZ-America/New_York}
ports:
- "7437:7437"
volumes:
- ./models:/agixt/models
- ./agixt/WORKSPACE:/agixt/WORKSPACE
- ./agixt/agents:/agixt/agents
- ./agixt/prompts:/agixt/prompts
- ./agixt/chains:/agixt/chains
- ./agixt/memories:/agixt/memories
- ./agixt/conversations:/agixt/conversations
- /var/run/docker.sock:/var/run/docker.sock
streamlit:
image: joshxt/streamlit:main
depends_on:
- agixt
environment:
- AGIXT_URI=${AGIXT_URI-http://agixt:7437}
- AGIXT_API_KEY=${AGIXT_API_KEY}
volumes:
- ./agixt/WORKSPACE:/app/WORKSPACE
ports:
- "8501:8501"