This repository has been 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
/
docker-compose.prod.arm32v6.yml
73 lines (72 loc) · 2.14 KB
/
docker-compose.prod.arm32v6.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
version: '3'
services:
database:
build:
context: https://github.com/M4MController/controller-web.git
dockerfile: Dockerfile-db.arm32v6
environment:
POSTGRES_USER: "m4m"
POSTGRES_PASSWORD: "12345"
POSTGRES_DB: "m4m"
restart: always
ports:
- 5432:5432
frontend:
build:
# bundle located in arm32v6 branch
context: https://github.com/M4MController/frontend.git#arm32v6
dockerfile: Dockerfile.arm32v6
args:
MODE: lite
GOOGLE_API_MAPS_KEY: AIzaSyCGvoTgge8rSPwOhKowR7zPDB7h1mf12wk
ports:
- 80:80
depends_on:
- backend
restart: always
backend:
build:
context: https://github.com/M4MController/controller-web.git
dockerfile: Dockerfile.arm32v6
depends_on:
- database
restart: always
sensor-obd:
build:
context: https://github.com/M4MController/controller-web.git#arm32v6
dockerfile: sensors_polling/Dockerfile.arm32v6
depends_on:
- database
restart: always
privileged: true
environment:
SEND_TO_SERVER: ""
USE_STUBS: ""
DEVICE: "/dev/obd"
volumes:
- "/dev/obd:/dev/obd"
sensor-gps:
build:
context: https://github.com/M4MController/sensor-gps.git
dockerfile: Dockerfile.arm32v6
depends_on:
- database
restart: always
privileged: true
environment:
USE_STUBS: ""
DB_URI: postgresql://m4m:12345@database:5432/m4m
radio:
build:
context: https://github.com/M4MController/controller-radio.git#arm32v6
dockerfile: Dockerfile.arm32v6
volumes:
- "/dev/xbee:/dev/xbee"
environment:
DB_URI: postgresql://m4m:12345@database:5432/m4m
DEVICE: "/dev/xbee"
USE_STUBS: ""
depends_on:
- database
privileged: true
restart: always