-
Notifications
You must be signed in to change notification settings - Fork 0
/
_env.sh
65 lines (40 loc) · 1.32 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
57
58
59
60
61
62
63
64
ctlid=2409141822
dockertag=jgwill/orpheus:practice_orpheuspy
containername=practice_orpheuspy
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 \$dworoot/x:/x -p 2288:2288 "
dkextra=" -v /b/Dropbox/g/practice_orpheuspy:/app "
# Set DISPLAY environment variable
dkextra="$dkextra -e DISPLAY=:99"
#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
###########################################
# Unset deprecated
unset DOCKER_BUILDKIT