-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.aws.yml
More file actions
87 lines (78 loc) · 1.68 KB
/
docker-compose.aws.yml
File metadata and controls
87 lines (78 loc) · 1.68 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
version: '3'
services:
timescaledb:
container_name: rockiot_timescale
build:
context: ./docker/timescale
ports:
- "5432:5432"
environment:
POSTGRES_USERNAME: "postgres"
POSTGRES_PASSWORD: "postgres"
POSTGRES_DB: "rock_iot"
PG_DATA: "$HOME/docker/postgres/data"
volumes:
- $HOME/docker/postgres/data:/var/lib/postgresql/data
networks:
- app-tier
rockiot:
build:
context: rockiot
dockerfile: ./Dockerfile.prod
env_file:
- rockiot.aws.env
depends_on:
- timescaledb
- rabbit1
rockiotworker:
depends_on:
- timescaledb
- rabbit1
- rockiot
rockiotbeat:
depends_on:
- timescaledb
- rabbit1
- rockiot
rockiotlistener:
depends_on:
- timescaledb
- rabbit1
- rockiot
rockiot_ingest:
env_file:
- rockiot.aws.env
rockiot_demo:
build: rockiot_demo
container_name: rockiot_demo_device1
env_file:
- common.env
- rockiot.aws.env
environment:
- DEVICE_ID=device1
- DEVICE_PASS=device1pass
- DEVICE_KEY=4OrcNTFSZUrYX6NqP0P3lz
- DEMO_IS_SSL=True
- WAIT_HOSTS=rabbit1:8883,rockiot:8000
depends_on:
- rockiot
- rockiot_ingest
volumes:
- $HOME/docker/certificates/:/certs/
networks:
- app-tier
pgadmin:
image: biarms/pgadmin4:4.21
container_name: rockiot_pgadmin
ports:
- "5050:5050"
depends_on:
- timescaledb
env_file:
- common.env
environment:
- WAIT_HOSTS=timescaledb:5432,rockiot:8000
volumes:
- $HOME/docker/pgadmin/data:/var/lib/pgadmin
networks:
- app-tier