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 pathupdate-registry.sh
More file actions
executable file
·37 lines (29 loc) · 1.63 KB
/
update-registry.sh
File metadata and controls
executable file
·37 lines (29 loc) · 1.63 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
# at first enable experimental features on docker daemon:
# /etc/docker/daemon.js
# {
# "experimental": true
# }
# controller-database
docker build -t registry.meter4.me:25410/controller-database -f Dockerfile-db https://github.com/M4MController/controller-web.git
docker push registry.meter4.me:25410/controller-database
# controller-backend
docker build -t registry.meter4.me:25410/controller-backend https://github.com/M4MController/controller-web.git
docker push registry.meter4.me:25410/controller-backend
# controller-frontend
docker build -t registry.meter4.me:25410/controller-frontend --squash --build-arg MODE=lite --build-arg GOOGLE_API_MAPS_KEY=$GOOGLE_API_MAPS_KEY https://github.com/M4MController/frontend.git
docker push registry.meter4.me:25410/controller-frontend
# controller-radio
docker build -t registry.meter4.me:25410/controller-radio https://github.com/M4MController/controller-radio.git
docker push registry.meter4.me:25410/controller-radio
# controller-sync
docker build -t registry.meter4.me:25410/controller-sync https://github.com/M4MController/controller-sync.git
docker push registry.meter4.me:25410/controller-sync
# sensor-obd
docker build -t registry.meter4.me:25410/sensor-obd https://github.com/M4MController/sensor-obd.git
docker push registry.meter4.me:25410/sensor-obd
# sensor-gps
docker build -t registry.meter4.me:25410/sensor-gps https://github.com/M4MController/sensor-gps.git
docker push registry.meter4.me:25410/sensor-gps
# sensor-electricity
docker build -t registry.meter4.me:25410/sensor-electricity https://github.com/M4MController/sensor-electricity.git
docker push registry.meter4.me:25410/sensor-electricity