mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-12 07:52:49 +00:00
Working intercepted Apache
This commit is contained in:
parent
77b385fb12
commit
8e3e830e89
@ -27,8 +27,7 @@ EXPOSE 9993/udp
|
||||
# Start ZeroTier-One
|
||||
RUN mkdir -p /var/lib/zerotier-one/networks.d
|
||||
RUN touch /var/lib/zerotier-one/networks.d/e5cd7a9e1c5311ab.conf
|
||||
RUN ./zerotier-one -d -U -p9993
|
||||
|
||||
ADD entrypoint.sh /entrypoint.sh
|
||||
RUN chmod -v +x /entrypoint.sh
|
||||
CMD ["/entrypoint.sh"]
|
||||
CMD ["./entrypoint.sh"]
|
||||
|
@ -1,5 +1,6 @@
|
||||
#!/bin/bash
|
||||
|
||||
rm -rf /run/httpd/* /tmp/httpd*
|
||||
./zerotier-one -d -U -p9993
|
||||
|
||||
exec /usr/sbin/httpd -D FOREGROUND
|
||||
rm -rf /run/httpd/* /tmp/httpd*
|
||||
exec intercept /usr/sbin/httpd -D FOREGROUND
|
||||
|
Loading…
Reference in New Issue
Block a user