File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -30,4 +30,6 @@ OPENSPY_UTMASTER_BIND_ADDR=0.0.0.0
3030OPENSPY_UTMASTER_BIND_PORT=30839
3131OPENSPY_UTMASTER_MAPPINGS_PATH=utmaster.xml
3232UTMASTER_MOTD_DATA=VGhpcyBpcyB0aGUgdXRtYXN0ZXIgZGVmYXVsdCBkb2NrZXIgbW90ZA==
33- UTMASTER_MOTD_COMMUNITY_DATA=VGhpcyBpcyB0aGUgdXRtYXN0ZXIgZGVmYXVsdCBkb2NrZXIgY29tbXVuaXR5IG1vdGQ=
33+ UTMASTER_MOTD_COMMUNITY_DATA=VGhpcyBpcyB0aGUgdXRtYXN0ZXIgZGVmYXVsdCBkb2NrZXIgY29tbXVuaXR5IG1vdGQ=
34+ OPENSPY_FESL_TOS_PATH=fesl_tos.txt
35+ OPENSPY_SSL_CERT=ssl_cert.pem
Original file line number Diff line number Diff line change @@ -8,60 +8,78 @@ services:
88 environment :
99 RUN_FILE : serverbrowsing
1010 image : chcniz/openspy-core
11+ volumes :
12+ - ./docker-support/:/app-workdir
1113 qr :
1214 ports :
1315 - " 27900:30694/udp"
1416 env_file : .env-local
1517 environment :
1618 RUN_FILE : qr
1719 image : chcniz/openspy-core
20+ volumes :
21+ - ./docker-support/:/app-workdir
1822 natneg :
1923 ports :
2024 - " 27901:30695/udp"
2125 environment :
2226 RUN_FILE : natneg
2327 env_file : .env-local
2428 image : chcniz/openspy-core
29+ volumes :
30+ - ./docker-support/:/app-workdir
2531 GP :
2632 ports :
2733 - " 29900:30974"
2834 environment :
2935 RUN_FILE : GP
3036 env_file : .env-local
3137 image : chcniz/openspy-core
38+ volumes :
39+ - ./docker-support/:/app-workdir
3240 SM :
3341 ports :
3442 - " 29901:30734"
3543 environment :
3644 RUN_FILE : SM
3745 env_file : .env-local
3846 image : chcniz/openspy-core
47+ volumes :
48+ - ./docker-support/:/app-workdir
3949 gstats :
4050 ports :
4151 - " 29920:30836"
4252 environment :
4353 RUN_FILE : gstats
4454 env_file : .env-local
4555 image : chcniz/openspy-core
56+ volumes :
57+ - ./docker-support/:/app-workdir
4658 FESL-bf2142 :
4759 ports :
4860 - " 18300:30837"
4961 environment :
5062 RUN_FILE : FESL
5163 env_file : .env-local
5264 image : chcniz/openspy-core
65+ volumes :
66+ - ./docker-support/:/app-workdir
5367 peerchat :
5468 ports :
5569 - " 6667:30838"
5670 environment :
5771 RUN_FILE : peerchat
5872 env_file : .env-local
5973 image : chcniz/openspy-core
74+ volumes :
75+ - ./docker-support/:/app-workdir
6076 utmaster :
6177 ports :
6278 - " 28902:30839"
6379 environment :
6480 RUN_FILE : utmaster
6581 env_file : .env-local
6682 image : chcniz/openspy-core
83+ volumes :
84+ - ./docker-support/:/app-workdir
6785
File renamed without changes.
Original file line number Diff line number Diff line change 1+ This is the utmaster default docker community motd
Original file line number Diff line number Diff line change 1+ This is the utmaster default docker motd
Original file line number Diff line number Diff line change 11RUN_FILE_BASEDIR=/opt/openspy/bin
2- WORKDIR=/opt/openspy
2+ WORKDIR=/app-workdir
33FILE_TO_RUN=$RUN_FILE_BASEDIR /$RUN_FILE
44eval cd $WORKDIR
5-
6- # this stuff is for FESL/SSL, need to write from env var due to docker image
7- if [[ -n $FESL_TOS_DATA ]]; then
8- echo $FESL_TOS_DATA | base64 -d > fesl_tos.txt
9- export OPENSPY_FESL_TOS_PATH=fesl_tos.txt
10- fi
11- if [[ -n $SSL_CERT_DATA ]]; then
12- echo $SSL_CERT_DATA | base64 -d > ssl_cert.pem
13- export OPENSSP_SSL_CERT=ssl_cert.pem
14- fi
15-
16- if [[ -n $SSL_KEY_DATA ]]; then
17- echo $SSL_KEY_DATA | base64 -d > ssl_key.pem
18- export OPENSPY_SSL_KEY=ssl_key.pem
19- fi
20-
21- if [[ -n $UTMASTER_MOTD_DATA ]]; then
22- echo $UTMASTER_MOTD_DATA | base64 -d > motd.txt
23- fi
24-
25- if [[ -n $UTMASTER_MOTD_COMMUNITY_DATA ]]; then
26- echo $UTMASTER_MOTD_COMMUNITY_DATA | base64 -d > motd_community.txt
27- fi
28-
295eval bash -c $FILE_TO_RUN
You can’t perform that action at this time.
0 commit comments