-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathinit
More file actions
executable file
·43 lines (33 loc) · 867 Bytes
/
init
File metadata and controls
executable file
·43 lines (33 loc) · 867 Bytes
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
#!/bin/bash
export POSDA_IMG_VERSION=1.0.3
echo "Setting up your environment..."
if [ ! -f docker-compose.yaml ]; then
cp config/docker-compose.yaml .
fi
if [ ! -f api.env ]; then
cp config/api.env .
fi
if [ ! -f database.env ]; then
cp config/database.env .
fi
if [ ! -f nbia.env ]; then
cp config/nbia.env .
fi
if [ ! -f common.env ]; then
cp config/common.env .
fi
if [ ! -f ream.env ]; then
cp config/ream.env .
fi
if [ ! -f exodus.env ]; then
cp config/exodus.env .
fi
if [ ! -f posda.env ]; then
cp config/posda.env .
fi
docker image pull tcia/exodus:${POSDA_IMG_VERSION}
docker image pull tcia/ream:${POSDA_IMG_VERSION}
docker image pull tcia/lanterna:${POSDA_IMG_VERSION}
docker image pull tcia/posda:${POSDA_IMG_VERSION}
docker image pull tcia/posda_web:${POSDA_IMG_VERSION}
docker image pull tcia/kaleidoscope:${POSDA_IMG_VERSION}