install welcome message
This commit is contained in:
parent
815aca7c50
commit
d4f86d4693
2 changed files with 4 additions and 2 deletions
|
@ -10,7 +10,7 @@ COPY static ./static
|
||||||
COPY requirements.txt main.py ./
|
COPY requirements.txt main.py ./
|
||||||
RUN apt update
|
RUN apt update
|
||||||
|
|
||||||
# Install supervisords
|
# Install supervisord
|
||||||
RUN apt install -y supervisor
|
RUN apt install -y supervisor
|
||||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||||
COPY config/cmd.sh /cmd.sh
|
COPY config/cmd.sh /cmd.sh
|
||||||
|
|
|
@ -72,6 +72,8 @@ os_version=$(get_os_version)
|
||||||
|
|
||||||
CheckEnvironment(){
|
CheckEnvironment(){
|
||||||
|
|
||||||
|
echo "---------------------------------- Start to install websoft9's appstore, it will take 3-5 minutes -------------------------------------------------------"
|
||||||
|
|
||||||
echo "Check environment ..."
|
echo "Check environment ..."
|
||||||
echo os_type: $os_type
|
echo os_type: $os_type
|
||||||
echo os_version: $os_version
|
echo os_version: $os_version
|
||||||
|
@ -389,7 +391,7 @@ public_ip=`bash /data/apps/stackhub/scripts/get_ip.sh`
|
||||||
sudo sed -i "s/domain.com/$public_ip/g" /var/lib/docker/volumes/w9nginxproxymanager_nginx_data/_data/nginx/proxy_host/initproxy.conf
|
sudo sed -i "s/domain.com/$public_ip/g" /var/lib/docker/volumes/w9nginxproxymanager_nginx_data/_data/nginx/proxy_host/initproxy.conf
|
||||||
sudo docker restart websoft9-nginxproxymanager
|
sudo docker restart websoft9-nginxproxymanager
|
||||||
|
|
||||||
echo "---------------------------------- Install completed, let use appstore -------------------------------------------------------"
|
echo "---------------------------------- Install success! you can install a app by websoft9's appstore -------------------------------------------------------"
|
||||||
}
|
}
|
||||||
|
|
||||||
CheckEnvironment
|
CheckEnvironment
|
||||||
|
|
Loading…
Add table
Reference in a new issue