This repository was archived by the owner on Nov 15, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.prod.yaml
More file actions
59 lines (58 loc) · 1.58 KB
/
docker-compose.prod.yaml
File metadata and controls
59 lines (58 loc) · 1.58 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
version: '3'
services:
database:
image: registry.meter4.me:25410/controller-database
environment:
POSTGRES_USER: "m4m"
POSTGRES_PASSWORD: "12345"
POSTGRES_DB: "m4m"
restart: always
frontend:
image: registry.meter4.me:25410/controller-frontend
ports:
- 80:80
depends_on:
- backend
restart: always
backend:
image: registry.meter4.me:25410/controller-backend
depends_on:
- database
restart: always
sensor-obd:
image: registry.meter4.me:25410/sensor-obd
depends_on:
- backend
restart: always
privileged: true
environment:
URI: http://backend:5000
DEVICE: "/dev/obd"
volumes:
- "/dev/obd:/dev/obd"
sensor-gps:
image: registry.meter4.me:25410/sensor-gps
depends_on:
- backend
restart: always
privileged: true
environment:
URI: http://backend:5000
radio:
image: registry.meter4.me:25410/controller-radio
volumes:
- "/dev:/dev"
environment:
DB_URI: postgresql://m4m:12345@database:5432/m4m
DEVICE: "/dev/serial0"
depends_on:
- database
privileged: true
restart: always
synchronizer:
image: registry.meter4.me:25410/controller-sync
environment:
DB_URI: postgresql://m4m:12345@database:5432/m4m
depends_on:
- database
restart: always