-
-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (45 loc) · 1.55 KB
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (45 loc) · 1.55 KB
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
# Default `docker compose up` runs the TEAM-capable dashboard (multi-user auth, roles,
# seats, license revocation, Pro sync) — the thing teams actually deploy. The raw
# single-user v1 API server is available under the "api" profile:
# docker compose --profile api up engraphis-api
services:
engraphis:
build: .
image: engraphis:latest
# Team dashboard on the v2 engine. --no-open: never try to launch a browser in a
# container. Binds 0.0.0.0 via ENGRAPHIS_HOST (set in the image).
command: ["engraphis-dashboard", "--no-open"]
ports:
- "8700:8700"
env_file:
- .env
environment:
ENGRAPHIS_HOST: 0.0.0.0
ENGRAPHIS_DB_PATH: /data/engraphis.db
# Persist license/trial/machine-id/lease + the revocation registry on the volume.
ENGRAPHIS_STATE_DIR: /data/.engraphis
# Relay/registry DB (issued keys + revocations) — on the persistent volume so a
# revoked key STAYS revoked across redeploys.
ENGRAPHIS_RELAY_DB: /data/.engraphis/relay.db
volumes:
- engraphis-data:/data
restart: unless-stopped
# Raw v1 API server (single-user). Opt in with: docker compose --profile api up
engraphis-api:
build: .
image: engraphis:latest
command: ["engraphis-server"]
profiles: ["api"]
ports:
- "8701:8700"
env_file:
- .env
environment:
ENGRAPHIS_HOST: 0.0.0.0
ENGRAPHIS_DB_PATH: /data/engraphis.db
ENGRAPHIS_STATE_DIR: /data/.engraphis
volumes:
- engraphis-data:/data
restart: unless-stopped
volumes:
engraphis-data: