Browse Source
Update DOCKERFILE
修复docker运行配置WVP_CONFIG后,相关配置未生效的问题
pull/451/head
TouXin
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
DOCKERFILE
|
@ -84,7 +84,7 @@ RUN echo '#!/bin/bash' > run.sh && \ |
|
|
echo 'nohup java -jar *.jar --userSettings.record=/opt/media/www/record/ &' >> run.sh && \ |
|
|
echo 'nohup java -jar *.jar --userSettings.record=/opt/media/www/record/ &' >> run.sh && \ |
|
|
echo 'nohup /opt/media/MediaServer -d -m 3 &' >> run.sh && \ |
|
|
echo 'nohup /opt/media/MediaServer -d -m 3 &' >> run.sh && \ |
|
|
echo 'cd /opt/wvp' >> run.sh && \ |
|
|
echo 'cd /opt/wvp' >> run.sh && \ |
|
|
echo 'if [${WVP_CONFIG}]; then' >> run.sh && \ |
|
|
echo 'if [-n "${WVP_CONFIG}"]; then' >> run.sh && \ |
|
|
echo ' java -jar *.jar --spring.config.location=/opt/wvp/config/application.yml --media.record-assist-port=18081 ${WVP_CONFIG}' >> run.sh && \ |
|
|
echo ' java -jar *.jar --spring.config.location=/opt/wvp/config/application.yml --media.record-assist-port=18081 ${WVP_CONFIG}' >> run.sh && \ |
|
|
echo 'else' >> run.sh && \ |
|
|
echo 'else' >> run.sh && \ |
|
|
echo ' java -jar *.jar --spring.config.location=/opt/wvp/config/application.yml --media.record-assist-port=18081 --media.ip=127.0.0.1 --media.sdp-ip=${WVP_IP} --sip.ip=${WVP_IP} --media.stream-ip=${WVP_IP}' >> run.sh && \ |
|
|
echo ' java -jar *.jar --spring.config.location=/opt/wvp/config/application.yml --media.record-assist-port=18081 --media.ip=127.0.0.1 --media.sdp-ip=${WVP_IP} --sip.ip=${WVP_IP} --media.stream-ip=${WVP_IP}' >> run.sh && \ |
|
|