-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-prod.yml
More file actions
71 lines (69 loc) · 1.8 KB
/
Copy pathdocker-compose-prod.yml
File metadata and controls
71 lines (69 loc) · 1.8 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
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
version: '3.8'
services:
central-control:
links:
- mqtt-broker
container_name: central-control-prod
restart: on-failure
image: ghcr.io/ommsolutions/ff-ccu-armv7:release-24v
networks:
- ff-future-factory-prod
volumes:
- ./central-control/data/:/app/data
environment:
MQTT_USER: default
MQTT_PASS: default
MQTT_URL: mqtt://mqtt-broker
MQTT_INIT_RETRIES: 20
MQTT_INIT_RETRY_DELAY: 1000
STORAGE_PATH: /app/data
FTS_CHARGE_BELOW_PERCENTAGE: 10
#FTS_CHARGE_DISABLED: false
#ROUTING_NODE_BLOCKING_DISABLED: false
MQTT_DEBUG: false
frontend:
container_name: central-control-frontend-prod
restart: on-failure
networks:
- ff-future-factory-prod
environment:
NODE_ENV: development
image: ghcr.io/ommsolutions/ff-frontend-armv7:release-24v
ports:
- "80:80"
mqtt-broker:
image: eclipse-mosquitto:2
container_name: mqtt-broker-prod
restart: on-failure
networks:
- ff-future-factory-prod
volumes:
- ./mosquitto/config/:/mosquitto/config/:ro
- ./logs/mosquitto:/mosquitto/log/
- mosquittodata-prod:/mosquitto/data
ports:
- "1883:1883"
- "9001:9001"
nodered:
image: ghcr.io/ommsolutions/ff-nodered-armv7:release-24v
container_name: nodered-prod
restart: on-failure
networks:
- ff-future-factory-prod
environment:
- TZ=Europe/Amsterdam
ports:
- 1880:1880
#volumes:
#- node-red-data-prod:/data
watchtower:
image: containrrr/watchtower
volumes:
- /var/run/docker.sock:/var/run/docker.sock
command: --cleanup --include-stopped --include-restarting --run-once
volumes:
mosquittodata-prod: ~
#node-red-data-prod: ~
networks:
ff-future-factory-prod:
driver: bridge