-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 892 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 892 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
38
39
40
41
42
43
44
45
46
47
services:
webapp:
build:
context: .
dockerfile: ./cmd/web_server/Dockerfile
ports:
- "4444:4444"
depends_on:
- db
- mosquitto
env_file:
- env.list
volumes:
- webapp_data:/app/data
networks:
- iot_network
db:
image: timescale/timescaledb:latest-pg16
env_file: env.list
ports:
- "5432:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
networks:
- iot_network
mosquitto:
image: eclipse-mosquitto:latest
ports:
- "1883:1883"
volumes:
- mosquitto_data:/mosquitto/data
- mosquitto_log:/mosquitto/log
- ./mosquitto_mqtt_broker/config/mosquitto.conf:/mosquitto/config/mosquitto.conf
networks:
- iot_network
volumes:
postgres_data:
webapp_data:
mosquitto_config:
mosquitto_data:
mosquitto_log:
networks:
iot_network: