mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-25 09:00:26 +00:00
domain
This commit is contained in:
parent
9851f2e941
commit
ed869bd778
2 changed files with 2 additions and 2 deletions
|
@ -10,7 +10,7 @@ COPY static ./static
|
|||
COPY requirements.txt main.py ./
|
||||
RUN apt update
|
||||
|
||||
# Install supervisord
|
||||
# Install supervisords
|
||||
RUN apt install -y supervisor
|
||||
COPY config/supervisord.conf /etc/supervisor/conf.d/supervisord.conf
|
||||
COPY config/cmd.sh /cmd.sh
|
||||
|
|
|
@ -1055,7 +1055,7 @@ def set_domain(domain, app_id):
|
|||
if domain == "":
|
||||
ip_result = shell_execute.execute_command_output_all("cat /data/apps/stackhub/docker/w9appmanage/public_ip")
|
||||
domain = ip_result["result"].rstrip('\n')
|
||||
cmd = 'echo -e "\nAPP_URL="' + domain + " >> /data/apps/" + customer_name +"/.env"
|
||||
cmd = "echo -e \"\\nAPP_URL=" + domain + "\" >> /data/apps/" + customer_name +"/.env"
|
||||
shell_execute.execute_command_output_all(cmd)
|
||||
myLogger.info_logger("set_domain success")
|
||||
|
||||
|
|
Loading…
Reference in a new issue