-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
48 lines (46 loc) · 1 KB
/
docker-compose.yml
File metadata and controls
48 lines (46 loc) · 1 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
version: '3'
services:
rproxy:
image: nginx:latest
container_name: production_nginx
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
# ports:
# - 5051:80
links:
- node-red
ngrok:
image: wernight/ngrok
links:
- rproxy
# ports:
# - "4041:4040/tcp"
command:
- /bin/sh
- -c
- |
ngrok http rproxy:80 --authtoken $NGROK_AUTH
node-red:
build: ./node-red/
environment:
- TZ=America/Boise
# ports:
# - "1882:1880"
environment:
- WEBHOOK_SECRET=$WEBHOOK_SECRET
volumes:
- ./node-red/flows.json:/data/flows.json
- ./node-red/setting.js:/data/setting.js
receiver_configurator:
build:
context: ./mist_receiver_config/
dockerfile: dockerfile
environment:
- MIST_API=$MIST_API
- MIST_ORG=$MIST_ORG
- MIST_SITE=$MIST_SITE
- NOTIFY_TYPE=$NOTIFY_TYPE
- NOTIFY_URL=$NOTIFY_URL
- WEBHOOK_SECRET=$WEBHOOK_SECRET
depends_on:
- ngrok