-
-
Notifications
You must be signed in to change notification settings - Fork 191
/
docker-compose.yml
61 lines (61 loc) · 1.99 KB
/
docker-compose.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
version: '3.3'
services:
redbot:
container_name: 'redbot'
image: 'guidone/redbot'
ports:
- '1880:1880'
environment:
REDBOT_ENABLE_MISSION_CONTROL: 'true'
NODE_RED_ENABLE_PROJECTS: ${NODE_RED_ENABLE_PROJECTS}
NODE_RED_ENABLE_TOURS: 'false'
REDBOT_DEVELOPMENT_MODE: ${REDBOT_DEVELOPMENT_MODE}
REDBOT_ENVIRONMENT: ${ENVIRONMENT}
REDBOT_ENABLE_OTP: ${REDBOT_ENABLE_OTP}
volumes:
- type: bind
source: ${REDBOT_DIR}/nodes
target: /usr/src/node-red/node_modules/node-red-contrib-chatbot/nodes
- type: bind
source: ${REDBOT_DIR}/package.json
target: /usr/src/node-red/node_modules/node-red-contrib-chatbot/package.json
- type: bind
source: ${REDBOT_DIR}/lib
target: /usr/src/node-red/node_modules/node-red-contrib-chatbot/lib
- type: bind
source: ${REDBOT_DIR}/bin
target: /usr/src/node-red/node_modules/node-red-contrib-chatbot/bin
- type: bind
source: ${REDBOT_DIR}/migrations
target: /usr/src/node-red/node_modules/node-red-contrib-chatbot/migrations
- type: bind
source: ${REDBOT_DIR}/database
target: /usr/src/node-red/node_modules/node-red-contrib-chatbot/database
- type: bind
source: ${REDBOT_DIR}/src
target: /usr/src/node-red/node_modules/node-red-contrib-chatbot/src
- type: bind
source: ${DATA_DIR}
target: /data
redbot-assets:
container_name: 'redbot-assets'
build:
dockerfile: Dockerfile-webpack
context: .
ports:
- '8080:8080'
environment:
REDBOT_DEVELOPMENT_PLUGINS: ${REDBOT_DEVELOPMENT_PLUGINS}
volumes:
- type: bind
source: ${REDBOT_DIR}/src
target: /tmp/src
- type: bind
source: ${REDBOT_DIR}/webpack
target: /tmp/webpack
- type: bind
source: ${REDBOT_DIR}/core
target: /tmp/core
- type: bind
source: ${REDBOT_DIR}/mc_plugins
target: /tmp/mc_plugins