forked from Josh-XT/AGiXT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-postgres.yml
50 lines (50 loc) · 1.53 KB
/
docker-compose-postgres.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
services:
db:
image: postgres
ports:
- ${POSTGRES_PORT:-5432}:5432
environment:
POSTGRES_USER: ${POSTGRES_USER:-postgres}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-postgres}
POSTGRES_DB: ${POSTGRES_DB:-postgres}
volumes:
- ./data:/var/lib/postgresql/data
agixt:
image: joshxt/agixt:latest
init: true
depends_on:
- db
environment:
- DB_CONNECTED=true
- POSTGRES_SERVER=${POSTGRES_SERVER:-db}
- POSTGRES_USER=${POSTGRES_USER:-postgres}
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD:-postgres}
- POSTGRES_DB=${POSTGRES_DB:-postgres}
- POSTGRES_PORT=${POSTGRES_PORT:-5432}
- UVICORN_WORKERS=${UVICORN_WORKERS:-10}
- AGIXT_HUB=${AGIXT_HUB:-AGiXT/hub}
- GITHUB_USER=${GITHUB_USER}
- GITHUB_TOKEN=${GITHUB_TOKEN}
- TOKENIZERS_PARALLELISM=False
- HTTP_PROXY=http://host.docker.internal:7890
- HTTPS_PROXY=http://host.docker.internal:7890
- ALL_PROXY=socks5://host.docker.internal:7890
- NO_PROXY=.example.org,127.0.0.0/8,localhost,123.249.78.135,host.docker.internal
ports:
- "7437:7437"
volumes:
- ./models:/model
- ./WORKSPACE:/agixt/WORKSPACE
- ./agents:/agixt/agents
- ./memories:/agixt/memories
- ./conversations:/agixt/conversations
- ./.env:/.env
streamlit:
image: joshxt/streamlit:latest
depends_on:
- agixt
environment:
- AGIXT_HUB=${AGIXT_HUB:-AGiXT/hub}
- AGIXT_URI=${AGIXT_URI:-http://agixt:7437}
ports:
- "8501:8501"