-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
37 lines (33 loc) · 806 Bytes
/
docker-compose.yml
File metadata and controls
37 lines (33 loc) · 806 Bytes
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
services:
mosquitto:
image: eclipse-mosquitto:latest
ports:
- 1883:1883 # MQTT without TLS
- 8883:8883 # MQTT with TLS
- 9011:9011 # websocket
volumes:
- ./mosquitto-data/config:/mosquitto/config
- ./mosquitto-data/data:/mosquitto/data
- ./mosquitto-data/log:/mosquitto/log
- ./mosquitto-data/certs:/home/certs
node-red:
image: nodered/node-red:latest
environment:
- TZ=Europe/Portugal
ports:
- 1880:1880
volumes:
- ./node-red-data:/data
postgres-db:
image: postgres:17
ports:
- 5432:5432
volumes:
- ./postgres-data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=root
- POSTGRES_DB=health
app:
build: ./app-data/
ports:
- "8000:8000"