mirror of
https://github.com/yusing/godoxy.git
synced 2026-03-26 02:51:07 +01:00
added load balance support and verbose level
This commit is contained in:
10
Dockerfile
Executable file → Normal file
10
Dockerfile
Executable file → Normal file
@@ -2,14 +2,18 @@ FROM alpine:latest
|
||||
|
||||
LABEL maintainer="yusing@6uo.me"
|
||||
|
||||
COPY bin/go-proxy /usr/bin
|
||||
RUN apk add --no-cache bash
|
||||
RUN mkdir /app
|
||||
COPY bin/go-proxy entrypoint.sh /app/
|
||||
COPY templates/ /app/templates
|
||||
|
||||
RUN chmod +rx /usr/bin/go-proxy
|
||||
RUN chmod +x /app/go-proxy /app/entrypoint.sh
|
||||
ENV DOCKER_HOST unix:///var/run/docker.sock
|
||||
ENV VERBOSITY=1
|
||||
|
||||
EXPOSE 80
|
||||
EXPOSE 443
|
||||
EXPOSE 8443
|
||||
|
||||
CMD ["go-proxy"]
|
||||
WORKDIR /app
|
||||
ENTRYPOINT /app/entrypoint.sh
|
||||
Reference in New Issue
Block a user