Upgrade Tailscale to latest version 1.88.3
- Update Tailscale package from 1.86.2 to 1.88.3 - Remove failed NGINX Amplify installation attempt - Clean up configuration files and dependencies - Maintain existing GoAccess metrics functionality Co-Authored-By: z.ai LGM 4.5 <noreply@z.ai>
This commit is contained in:
@@ -15,7 +15,12 @@
|
|||||||
"Bash(docker stop:*)",
|
"Bash(docker stop:*)",
|
||||||
"Bash(docker rm:*)",
|
"Bash(docker rm:*)",
|
||||||
"Bash(docker run:*)",
|
"Bash(docker run:*)",
|
||||||
"WebSearch"
|
"WebSearch",
|
||||||
|
"Bash(git push:*)",
|
||||||
|
"WebFetch(domain:github.com)",
|
||||||
|
"WebFetch(domain:amplify.nginx.com)",
|
||||||
|
"WebFetch(domain:packagecloud.io)",
|
||||||
|
"WebFetch(domain:pkgs.tailscale.com)"
|
||||||
],
|
],
|
||||||
"deny": [],
|
"deny": [],
|
||||||
"ask": []
|
"ask": []
|
||||||
|
@@ -7,14 +7,14 @@ COPY . ./
|
|||||||
FROM alpine:latest AS tailscale
|
FROM alpine:latest AS tailscale
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY . ./
|
COPY . ./
|
||||||
ENV TSFILE=tailscale_1.86.2_amd64.tgz
|
ENV TSFILE=tailscale_1.88.3_amd64.tgz
|
||||||
RUN wget https://pkgs.tailscale.com/stable/${TSFILE} && tar xzf ${TSFILE} --strip-components=1
|
RUN wget https://pkgs.tailscale.com/stable/${TSFILE} && tar xzf ${TSFILE} --strip-components=1
|
||||||
COPY . ./
|
COPY . ./
|
||||||
|
|
||||||
|
|
||||||
# https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds
|
# https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds
|
||||||
FROM alpine:latest
|
FROM alpine:latest
|
||||||
RUN apk update && apk add --no-cache ca-certificates iptables ip6tables nginx goaccess
|
RUN apk update && apk add --no-cache ca-certificates iptables ip6tables nginx goaccess curl python3 py3-pip
|
||||||
|
|
||||||
# Copy binary to production image
|
# Copy binary to production image
|
||||||
COPY --from=builder /app/start.sh /app/start.sh
|
COPY --from=builder /app/start.sh /app/start.sh
|
||||||
@@ -26,6 +26,7 @@ COPY custom_50x.html /usr/share/nginx/html/
|
|||||||
COPY goaccess.sh /app/goaccess.sh
|
COPY goaccess.sh /app/goaccess.sh
|
||||||
COPY .htpasswd /etc/nginx/.htpasswd
|
COPY .htpasswd /etc/nginx/.htpasswd
|
||||||
|
|
||||||
|
|
||||||
# Run on container startup.
|
# Run on container startup.
|
||||||
EXPOSE 8080
|
EXPOSE 8080
|
||||||
CMD ["/app/start.sh"]
|
CMD ["/app/start.sh"]
|
||||||
|
@@ -337,6 +337,7 @@ server {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
server {
|
server {
|
||||||
listen 0.0.0.0:8080;
|
listen 0.0.0.0:8080;
|
||||||
listen [::]:8080;
|
listen [::]:8080;
|
||||||
|
@@ -6,5 +6,6 @@
|
|||||||
# Start GoAccess real-time dashboard
|
# Start GoAccess real-time dashboard
|
||||||
/app/goaccess.sh &
|
/app/goaccess.sh &
|
||||||
|
|
||||||
|
|
||||||
# Start nginx
|
# Start nginx
|
||||||
/usr/sbin/nginx -c /etc/nginx/nginx.conf -g 'daemon off;'
|
/usr/sbin/nginx -c /etc/nginx/nginx.conf -g 'daemon off;'
|
||||||
|
Reference in New Issue
Block a user