-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (43 loc) · 1.19 KB
/
Copy pathdocker-compose.yml
File metadata and controls
44 lines (43 loc) · 1.19 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
services:
main:
build: .
command: ["node", "dist/index.js", "main"]
environment:
HOST: 0.0.0.0
PORT: 8787
BASE_URL: http://localhost:8787
DATA_DIR: /data/main
ALLOWED_PROJECT_ROOTS: /workspace
BACKEND_HOST: 0.0.0.0
BACKEND_PORT: 8788
BACKEND_PUBLIC_URL: http://127.0.0.1:8788
BACKEND_NAME: local-main-backend
BACKEND_AUTH_TOKEN:
TMUX_SOCKET_MODE: default
TMUX_SOCKET_NAME: tmux-web-manager-main
SESSION_PREFIX: tmux-web-manager
OH_MY_TMUX_CONF: /opt/oh-my-tmux/.tmux.conf
ports:
- "8787:8787"
volumes:
- ./.data/main:/data/main
- /workspace:/workspace
sub:
build: .
command: ["node", "dist/index.js", "sub"]
environment:
DATA_DIR: /data/sub
ALLOWED_PROJECT_ROOTS: /workspace
BACKEND_HOST: 0.0.0.0
BACKEND_PORT: 8790
BACKEND_NAME: remote-sub-backend
BACKEND_AUTH_TOKEN:
TMUX_SOCKET_MODE: default
TMUX_SOCKET_NAME: tmux-web-manager-sub
SESSION_PREFIX: tmux-web-manager
OH_MY_TMUX_CONF: /opt/oh-my-tmux/.tmux.conf
ports:
- "8790:8790"
volumes:
- ./.data/sub:/data/sub
- /workspace:/workspace