-
-
Notifications
You must be signed in to change notification settings - Fork 357
/
docker-compose.yml
98 lines (98 loc) · 4.05 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
services:
agixt:
image: joshxt/agixt:latest
init: true
environment:
DATABASE_TYPE: ${DATABASE_TYPE:-sqlite}
DATABASE_NAME: ${DATABASE_NAME:-models/agixt}
UVICORN_WORKERS: ${UVICORN_WORKERS:-10}
AGIXT_API_KEY: ${AGIXT_API_KEY:-None}
AGIXT_URI: ${AGIXT_URI:-http://agixt:7437}
AUTH_PROVIDER: ${AUTH_PROVIDER:-magicalauth}
MAGIC_LINK_URL: ${AUTH_WEB:-http://localhost:3437/user}
DISABLED_EXTENSIONS: ${DISABLED_EXTENSIONS}
DISABLED_PROVIDERS: ${DISABLED_PROVIDERS}
WORKING_DIRECTORY: ${WORKING_DIRECTORY:-/agixt/WORKSPACE}
REGISTRATION_DISABLED: ${REGISTRATION_DISABLED:-false}
TOKENIZERS_PARALLELISM: "false"
LOG_LEVEL: ${LOG_LEVEL:-INFO}
AWS_CLIENT_ID: ${AWS_CLIENT_ID}
AWS_CLIENT_SECRET: ${AWS_CLIENT_SECRET}
AWS_REGION: ${AWS_REGION}
AWS_USER_POOL_ID: ${AWS_USER_POOL_ID}
GITHUB_CLIENT_ID: ${GITHUB_CLIENT_ID}
GITHUB_CLIENT_SECRET: ${GITHUB_CLIENT_SECRET}
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
GOOGLE_CLIENT_SECRET: ${GOOGLE_CLIENT_SECRET}
MICROSOFT_CLIENT_ID: ${MICROSOFT_CLIENT_ID}
MICROSOFT_CLIENT_SECRET: ${MICROSOFT_CLIENT_SECRET}
TZ: ${TZ:-America/New_York}
ports:
- "${AGIXT_PORT:-7437}:7437"
volumes:
- ./models:/agixt/models
- ./WORKSPACE:/agixt/WORKSPACE
- ./agixt/agents:/agixt/agents
- ./agixt/prompts:/agixt/prompts
- ./agixt/chains:/agixt/chains
- ./agixt/memories:/agixt/memories
- ./agixt/registration_requirements.json:/agixt/registration_requirements.json
- /var/run/docker.sock:/var/run/docker.sock
streamlit:
image: joshxt/streamlit:latest
depends_on:
- agixt
environment:
AGIXT_URI: ${STREAMLIT_AGIXT_URI:-http://agixt:7437}
APP_URI: ${STREAMLIT_APP_URI:-http://localhost:8501}
AWS_CLIENT_ID: ${AWS_CLIENT_ID}
AWS_REGION: ${AWS_REGION}
AWS_USER_POOL_ID: ${AWS_USER_POOL_ID}
GITHUB_CLIENT_ID: ${GITHUB_CLIENT_ID}
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
MICROSOFT_CLIENT_ID: ${MICROSOFT_CLIENT_ID}
TZ: ${TZ:-America/New_York}
volumes:
- ./agixt/WORKSPACE:/app/WORKSPACE
ports:
- "${AGIXT_STREAMLIT_PORT:-8501}:8501"
agixtinteractive:
image: joshxt/agixt-interactive:latest
init: true
environment:
NEXT_TELEMETRY_DISABLED: 1
AGIXT_AGENT: ${AGIXT_AGENT:-gpt4free}
AGIXT_FILE_UPLOAD_ENABLED: ${AGIXT_FILE_UPLOAD_ENABLED:-true}
AGIXT_VOICE_INPUT_ENABLED: ${AGIXT_VOICE_INPUT_ENABLED:-true}
AGIXT_FOOTER_MESSAGE: ${AGIXT_FOOTER_MESSAGE:-Powered by AGiXT}
AGIXT_REQUIRE_API_KEY: ${AGIXT_REQUIRE_API_KEY:-false}
AGIXT_RLHF: ${AGIXT_RLHF:-true}
AGIXT_ALLOW_MESSAGE_EDITING: ${AGIXT_ALLOW_MESSAGE_EDITING:-true}
AGIXT_ALLOW_MESSAGE_DELETION: ${AGIXT_ALLOW_MESSAGE_DELETION:-true}
AGIXT_SHOW_OVERRIDE_SWITCHES: ${AGIXT_SHOW_OVERRIDE_SWITCHES:-tts,websearch,analyze-user-input}
AGIXT_SHOW_CHAT_THEME_TOGGLES: ${AGIXT_SHOW_CHAT_THEME_TOGGLES}
AGIXT_SERVER: ${AGIXT_URI:-http://localhost:7437}
AGIXT_SHOW_AGENT_BAR: ${AGIXT_SHOW_AGENT_BAR:-true}
AGIXT_SHOW_APP_BAR: ${AGIXT_SHOW_APP_BAR:-true}
AGIXT_SHOW_SELECTION: ${AGIXT_SHOW_SELECTION:-conversation,agent}
AGIXT_CONVERSATION_MODE: ${AGIXT_CONVERSATION_MODE:-select}
APP_DESCRIPTION: ${APP_DESCRIPTION:-A chat powered by AGiXT.}
INTERACTIVE_MODE: ${INTERACTIVE_MODE:-chat}
APP_NAME: ${APP_NAME:-AGiXT}
APP_URI: ${APP_URI:-http://localhost:3437}
AUTH_WEB: ${AUTH_WEB:-http://localhost:3437/user}
LOG_VERBOSITY_SERVER: 3
THEME_NAME: ${THEME_NAME}
ALLOW_EMAIL_SIGN_IN: ${ALLOW_EMAIL_SIGN_IN:-true}
AWS_CLIENT_ID: ${AWS_CLIENT_ID}
AWS_REGION: ${AWS_REGION}
AWS_USER_POOL_ID: ${AWS_USER_POOL_ID}
GITHUB_CLIENT_ID: ${GITHUB_CLIENT_ID}
GOOGLE_CLIENT_ID: ${GOOGLE_CLIENT_ID}
MICROSOFT_CLIENT_ID: ${MICROSOFT_CLIENT_ID}
TZ: ${TZ:-America/New_York}
ports:
- "${AGIXT_INTERACTIVE_PORT:-3437}:3437"
restart: unless-stopped
volumes:
- ./node_modules:/app/node_modules