-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
49 lines (43 loc) · 1003 Bytes
/
docker-compose.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
version: "3"
services:
postgres:
image: postgres:12.4
environment:
POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USER}
POSTGRES_DB: ${DB_DATABASE}
ports:
- ${DB_PORT}:5432
mosquitto:
image: eclipse-mosquitto:2.0.15
volumes:
- ./config/:/mosquitto/config/:ro
- log:/mosquitto/log/
- data:/mosquitto/data/
ports:
- 1883:1883
- 9001:9001
analytics-redis:
hostname: analytics-redis
image: bitnami/redis:7.0.5
environment:
ALLOW_EMPTY_PASSWORD: "yes"
ports:
- "6379:6379"
heartbeat-redis:
hostname: heartbeat-redis
image: bitnami/redis:7.0.5
environment:
ALLOW_EMPTY_PASSWORD: "yes"
ports:
- "6380:6379"
redis-commander:
hostname: redis-commander
image: rediscommander/redis-commander:latest
environment:
- REDIS_HOSTS=local:analytics-redis:6379,heartbeat:heartbeat-redis:6379
ports:
- "8081:8081"
volumes:
data:
log: