-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
46 lines (45 loc) · 1.22 KB
/
docker-compose.yml
File metadata and controls
46 lines (45 loc) · 1.22 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
services:
# Bun service (default — runs with: docker compose up --build)
nexus-workflow-studio:
build:
context: .
dockerfile: Dockerfile
args:
GIT_SHA: ${GIT_SHA:-unknown}
BUILD_TIMESTAMP: ${BUILD_TIMESTAMP:-unknown}
pull_policy: build
image: nexus-workflow-studio:latest
container_name: nexus-workflow-studio
environment:
NODE_ENV: production
PORT: "3000"
NEXUS_BRAIN_DATA_DIR: /data/brain
NEXT_PUBLIC_COLLAB_SERVER_URL: ws://localhost:1234
expose:
- "3000"
volumes:
- nexus_brain_data:/data/brain
restart: unless-stopped
nexus-collab:
build:
context: .
dockerfile: Dockerfile
args:
GIT_SHA: ${GIT_SHA:-unknown}
BUILD_TIMESTAMP: ${BUILD_TIMESTAMP:-unknown}
pull_policy: build
image: nexus-workflow-studio:latest
container_name: nexus-workflow-studio-collab
command: ["bun", "scripts/collab-server.ts"]
environment:
NODE_ENV: production
NEXUS_COLLAB_SERVER_PORT: "1234"
NEXUS_COLLAB_DATA_DIR: /data/collab
ports:
- "1234:1234"
volumes:
- nexus_collab_data:/data/collab
restart: unless-stopped
volumes:
nexus_brain_data:
nexus_collab_data: