-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (35 loc) · 844 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
37 lines (35 loc) · 844 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
29
30
31
32
33
34
35
36
37
services:
exocortex:
build: .
container_name: exocortex
ports:
- "9000:9000"
environment:
- EXOCORTEX_HOST=0.0.0.0
- EXOCORTEX_PORT=9000
- EXOCORTEX_DB_URL=http://surrealdb:8000
- SURREAL_USER=root
- SURREAL_PASS=root
depends_on:
surrealdb:
condition: service_healthy
volumes:
- exocortex-data:/app/data
restart: unless-stopped
surrealdb:
image: surrealdb/surrealdb:v2.1.4
container_name: surrealdb
command: start --user root --pass root file:///data/surreal.db
ports:
- "8000:8000"
volumes:
- surreal-data:/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 5s
timeout: 3s
retries: 10
restart: unless-stopped
volumes:
exocortex-data:
surreal-data: