Compare commits
No commits in common. "6c51a2b17f7cbe482074c20a48ebcc742da766dd" and "4f3ac8362390a395676e0a3d272ed31d18783e5a" have entirely different histories.
6c51a2b17f
...
4f3ac83623
|
@ -1,23 +0,0 @@
|
||||||
version: "2.4"
|
|
||||||
services:
|
|
||||||
oidc-test:
|
|
||||||
build:
|
|
||||||
context: ./
|
|
||||||
dockerfile: ./misc/dokku/Dockerfile
|
|
||||||
args:
|
|
||||||
- HTTP_PROXY=${HTTP_PROXY:-}
|
|
||||||
- HTTPS_PROXY=${HTTPS_PROXY:-}
|
|
||||||
- http_proxy=${http_proxy:-}
|
|
||||||
- https_proxy=${https_proxy:-}
|
|
||||||
environment:
|
|
||||||
- LOG_LEVEL=0
|
|
||||||
- HTTP_ADDRESS=0.0.0.0:3002
|
|
||||||
- OIDC_CLIENT_ID=local-test
|
|
||||||
- OIDC_CLIENT_SECRET=local-test
|
|
||||||
- OIDC_ISSUER_URL=
|
|
||||||
- OIDC_REDIRECT_URL=http://localhost:3002
|
|
||||||
- OIDC_POST_LOGOUT_REDIRECT_URL=http://localhost:3002
|
|
||||||
ports:
|
|
||||||
- 3002:3002
|
|
||||||
network_mode: host
|
|
||||||
|
|
|
@ -13,18 +13,12 @@ WORKDIR /src
|
||||||
|
|
||||||
RUN make ARCH_TARGETS=amd64 release
|
RUN make ARCH_TARGETS=amd64 release
|
||||||
|
|
||||||
FROM alpine as certs
|
|
||||||
|
|
||||||
RUN apk update && apk add ca-certificates
|
|
||||||
|
|
||||||
FROM busybox
|
FROM busybox
|
||||||
|
|
||||||
COPY --from=build /src/release/server-linux-amd64 /app
|
COPY --from=build /src/release/server-linux-amd64 /app
|
||||||
|
|
||||||
COPY --from=certs /etc/ssl/certs /etc/ssl/certs
|
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
ENV HTTP_ADDRESS=:80
|
ENV HTTP_ADDRESS=:80
|
||||||
|
|
||||||
CMD ["bin/server", "-workdir", "/app", "-config", "server.yml"]
|
CMD ["bin/server", "-workdir", "/app", "-config", "server.yml"]
|
Loading…
Reference in New Issue