-
Notifications
You must be signed in to change notification settings - Fork 91
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
39 lines (38 loc) · 1.04 KB
/
docker-compose.yml
File metadata and controls
39 lines (38 loc) · 1.04 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
services:
bitterbot-gateway:
image: ${BITTERBOT_IMAGE:-bitterbot:local}
environment:
HOME: /home/node
TERM: xterm-256color
BITTERBOT_GATEWAY_TOKEN: ${BITTERBOT_GATEWAY_TOKEN}
volumes:
- ${BITTERBOT_CONFIG_DIR}:/home/node/.bitterbot
- ${BITTERBOT_WORKSPACE_DIR}:/home/node/.bitterbot/workspace
ports:
- "${BITTERBOT_GATEWAY_PORT:-19001}:19001"
init: true
restart: unless-stopped
command:
[
"node",
"dist/index.js",
"gateway",
"--bind",
"${BITTERBOT_GATEWAY_BIND:-lan}",
"--port",
"19001",
]
bitterbot-cli:
image: ${BITTERBOT_IMAGE:-bitterbot:local}
environment:
HOME: /home/node
TERM: xterm-256color
BITTERBOT_GATEWAY_TOKEN: ${BITTERBOT_GATEWAY_TOKEN}
BROWSER: echo
volumes:
- ${BITTERBOT_CONFIG_DIR}:/home/node/.bitterbot
- ${BITTERBOT_WORKSPACE_DIR}:/home/node/.bitterbot/workspace
stdin_open: true
tty: true
init: true
entrypoint: ["node", "dist/index.js"]