File tree Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Expand file tree Collapse file tree 4 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ services:
3
3
- docker
4
4
5
5
install :
6
- - scripts/venuepackage
6
+ - scripts/venuepackage --clean
7
7
- scripts/venuestart
8
8
9
9
script :
Original file line number Diff line number Diff line change 1
1
angular . module ( 'config' , [ ] )
2
2
3
- . constant ( 'ENV' , 'development ' )
3
+ . constant ( 'ENV' , 'test ' )
4
4
5
5
. constant ( 'CAS_ENABLED' , true )
6
6
7
- . constant ( 'LOCAL_LOGIN_ENABLED' , false )
7
+ . constant ( 'LOCAL_LOGIN_ENABLED' , true )
8
8
9
- . constant ( 'DEBUG_LOGIN_ENABLED' , false )
9
+ . constant ( 'DEBUG_LOGIN_ENABLED' , true )
10
10
11
11
;
Original file line number Diff line number Diff line change 2
2
3
3
if [ " $INTERNAL_MONGO " == " yes" ]; then
4
4
service mongodb start
5
- else
6
- service mongodb stop
7
5
fi
8
6
chmod +x /root # for nginx
7
+ chmod +x /root/certs
8
+ chmod +x /root/data
9
9
/root/venue/scripts/docker/generate-cert
10
10
/root/venue/scripts/docker/configure-nginx
11
11
/usr/sbin/nginx
Original file line number Diff line number Diff line change @@ -10,6 +10,11 @@ if [ -z "$CERTS_DIRECTORY" ]; then
10
10
exit 1
11
11
fi
12
12
13
+ if [ -z " $DATA_DIRECTORY " ]; then
14
+ echo " Please set \$ DATA_DIRECTORY"
15
+ exit 1
16
+ fi
17
+
13
18
# This will pull from the server's environment variables
14
19
docker run \
15
20
-e DOMAIN \
@@ -31,4 +36,5 @@ docker run \
31
36
-P \
32
37
--net=" host" \
33
38
-v " $CERTS_DIRECTORY :/root/certs:rw" \
39
+ -v " $DATA_DIRECTORY :/root/data:rw" \
34
40
--name venue -dit rcos/venue
You can’t perform that action at this time.
0 commit comments