mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 07:30:24 +00:00
proxy
This commit is contained in:
parent
fb14517cd0
commit
d6e13825ed
2 changed files with 6 additions and 8 deletions
|
@ -5,10 +5,10 @@ LABEL version="2.10.4"
|
|||
|
||||
RUN apt-get update && apt-get install -y curl jq
|
||||
COPY ./config/initproxy.conf /data/nginx/proxy_host/
|
||||
COPY ./s6/init_user /etc/s6-overlay/s6-rc.d/init_user
|
||||
RUN ls /etc/s6-overlay/s6-rc.d/init_user
|
||||
#COPY ./s6/init_user /etc/s6-overlay/s6-rc.d/init_user
|
||||
#RUN ls /etc/s6-overlay/s6-rc.d/init_user
|
||||
#RUN touch /etc/s6-overlay/s6-rc.d/user/contents.d/init_user
|
||||
#RUN chmod -R 755 /etc/s6-overlay/s6-rc.d/init_user
|
||||
|
||||
RUN chmod -R 755 /etc/s6-overlay/s6-rc.d/init_user
|
||||
|
||||
CMD ["/bin/sh", "-c", "/etc/s6-overlay/s6-rc.d/init_user/init_user.sh && tail -f /dev/null"]
|
||||
COPY ./s6/init_user/init_user.sh /app/init_user.sh
|
||||
CMD ["/bin/sh", "-c", "/app/init_user.sh && tail -f /dev/null"]
|
|
@ -1,8 +1,6 @@
|
|||
#!/bin/bash
|
||||
|
||||
echo "Start to change nginxproxymanage users" >> /tmp/userlog
|
||||
|
||||
sleep 60
|
||||
echo "Start to change nginxproxymanage users"
|
||||
|
||||
username="help@websoft9.com"
|
||||
password=$(openssl rand -base64 16 | tr -d '/+' | cut -c1-16)
|
||||
|
|
Loading…
Reference in a new issue