-
Notifications
You must be signed in to change notification settings - Fork 46
/
build-images.sh
executable file
·81 lines (76 loc) · 1.27 KB
/
build-images.sh
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
#!/bin/bash
set -e
DIR=$(dirname "$0")
SEPAL_ENV_FILE="${1:-$SEPAL_ENV_FILE}"
echo
echo "SEPAL_ENV_FILE=${SEPAL_ENV_FILE}"
echo
function build {
local DOCKER_BUILDKIT=$2
local MODULE=$1
echo
echo "*** Building ${MODULE} ***"
echo
cd "${DIR}/modules/${MODULE}"
DOCKER_BUILDKIT=${DOCKER_BUILDKIT:-1} docker compose --env-file="$SEPAL_ENV_FILE" build # --progress plain
cd -
}
function run {
local MODULE=$1
echo
echo "*** Running ${MODULE} ***"
echo
cd "${DIR}/modules/${MODULE}"
docker compose --env-file="$SEPAL_ENV_FILE" up -d
cd -
}
build ldap
run ldap
build mysql
run mysql
build rabbitmq
run rabbitmq
build java
build ceo-gateway
run ceo-gateway
build ssh-gateway
run ssh-gateway
build user
run user
build sepal-server
run sepal-server
build app-manager
run app-manager
build email
run email
build gee
run gee
build task
build terminal
run terminal
build user-files
run user-files
build user-storage
run user-storage
build gui
run gui
build r-proxy
run r-proxy
build geospatial-toolkit 0
build sandbox
build gateway
run gateway
build letsencrypt
run letsencrypt
build haproxy
run haproxy
build ldap-backup
run ldap-backup
build mysql-backup
run mysql-backup
build user-storage-backup
run user-storage-backup
build backup
run backup
build sys-monitor
run sys-monitor