-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-build.yml
122 lines (113 loc) · 3 KB
/
docker-compose-build.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
##############################################
# #
# docker-compose.yml for Arancino Ecosystem #
# #
##############################################
version: '3.7'
services:
lrod:
restart: always
privileged: true
build:
context: .
dockerfile: dockerfiles-alpine/Dockerfile-lrod-alpine.dockerfile
image: smartmeio/lrod:0.5.0-alpine
volumes:
- "lr_conf:/etc/iotronic"
#- "lr_log:/var/log/iotronic"
- "lr_var:/var/lib/iotronic"
- "lr_nginx:/etc/nginx"
- "lr_le:/etc/letsencrypt"
ports:
- "127.0.0.1:${LRPORT}:1474"
networks:
- "arancino_net"
redis-volatile-arancino:
restart: always
privileged: true
build:
context: .
dockerfile: dockerfiles-alpine/Dockerfile-redis-volatile-alpine.dockerfile
image: smartmeio/redis-volatile:6.0.16-alpine
command: redis-server /etc/redis/redis-volatile.conf
environment:
- REDIS_REPLICATION_MODE=master
networks:
- "arancino_net"
redis-persistent-arancino:
restart: always
privileged: true
build:
context: .
dockerfile: dockerfiles-alpine/Dockerfile-redis-persistent-alpine.dockerfile
image: smartmeio/redis-persistent:6.0.16-alpine
command: redis-server /etc/redis/redis-persistent.conf
environment:
- REDIS_REPLICATION_MODE=master
volumes:
- "redis-data:/var/lib/redis"
networks:
- "arancino_net"
arancino:
restart: always
privileged: true
build:
context: .
dockerfile: dockerfiles-alpine/Dockerfile-arancino-alpine.dockerfile
image: smartmeio/arancino:2.4.0-alpine
command: /bin/bash -c 'gunicorn -c "/etc/arancino/config/gunicorn.cfg.py" arancino.ArancinoStart:app'
environment:
- ARANCINO=/etc/arancino
- ARANCINOCONF=/etc/arancino/config
- ARANCINOLOG=/var/log/arancino
- ARANCINOENV=PROD
- FLASK_ENV=production
volumes:
- "arancino_conf:/etc/arancino/config"
- "arancino_log:/var/log/arancino"
- "/dev:/dev"
depends_on:
- redis-volatile-arancino
- redis-persistent-arancino
ports:
- "127.0.0.1:${ARPORT}:1475"
networks:
- "arancino_net"
mosquitto:
restart: always
image: smartmeio/eclipse-mosquitto:1.0.0
volumes:
- "mosquitto_conf:/mosquitto/config"
- "mosquitto_data:/mosquitto/data"
- "mosquitto_log:/mosquitto/log"
ports:
- 127.0.0.1:${MPORT}:1883
- 127.0.0.1:${MSPORT}:8883
- 127.0.0.1:${MWSPORT}:9001
networks:
- "arancino_net"
node-red:
restart: always
image: nodered/node-red:2.2.0-14
volumes:
- node_red_data:/data
ports:
- 127.0.0.1:${REDPORT}:1880
networks:
- "arancino_net"
volumes:
node_red_data:
mosquitto_conf:
mosquitto_data:
mosquitto_log:
redis-data:
lr_conf:
#lr_log:
lr_var:
lr_nginx:
lr_le:
arancino_conf:
arancino_log:
networks:
arancino_net:
driver: "bridge"