forked from rikouu/cortex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
28 lines (27 loc) · 849 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
28 lines (27 loc) · 849 Bytes
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
services:
cortex:
build: .
# image: ghcr.io/rikouu/cortex:latest
# For local development, replace above with:
# build: .
ports:
- "21100:21100"
volumes:
- cortex-data:/app/cortex
# Mount docker socket for one-click update (optional, requires write access)
# Remove this line if you don't need the self-update feature
- /var/run/docker.sock:/var/run/docker.sock
environment:
- CORTEX_PORT=21100
- CORTEX_HOST=0.0.0.0
- CORTEX_DB_PATH=cortex/brain.db
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
- CORTEX_AUTH_TOKEN=${CORTEX_AUTH_TOKEN:-}
- NEO4J_URI=${NEO4J_URI:-}
- NEO4J_USER=${NEO4J_USER:-neo4j}
- NEO4J_PASSWORD=${NEO4J_PASSWORD:-}
- LOG_LEVEL=${LOG_LEVEL:-info}
- TZ=${TZ:-UTC}
restart: unless-stopped
volumes:
cortex-data: