forked from gbeced/pyalgotrade
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_env.sh
57 lines (34 loc) · 1.15 KB
/
_env.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
dockertag=jgwill/ubuntu:18.04-py3.7.2-ml-lzma-builder
containername=jgtpyalgotradebuilder
dkhostname=$containername
# PORT
#dkport=4000:4000
#xmount=/tmp:/a/tmp
#xmount2=/var:/a/var
dkcommand=bash #command to execute (default is the one in the dockerfile)
dkextra=" -v $HOME/.pypirc:/root/.pypirc "
#dkmounthome=true
##########################
############# RUN MODE
#dkrunmode="bg" #default fg
#dkrestart="--restart" #default
#dkrestarttype="unless-stopped" #default
#########################################
################## VOLUMES
#dkvolume="myvolname220413:/app" #create or use existing one
#dkvolume="$containername:/app" #create with containername name
#dkecho=true #just echo the docker run
# Use TZ
#DK_TZ=1
#####################################
#Build related
#
##chg back to that user
#dkchguser=vscode
######################## HOOKS BASH
### IF THEY EXIST, THEY are Executed, you can change their names
dkbuildprebuildscript=dkbuildprebuildscript.sh
dkbuildbuildsuccessscript=dkbuildbuildsuccessscript.sh
dkbuildfailedscript=dkbuildfailedscript.sh
dkbuildpostbuildscript=dkbuildpostbuildscript.sh
###########################################