Skip to content

Commit

Permalink
Dockerfile: provide a default JWKS URL, since that's required now
Browse files Browse the repository at this point in the history
  • Loading branch information
LRitzdorf committed Dec 30, 2024
1 parent d82bb6d commit 48a4812
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,13 @@ COPY cloud-init-server /usr/local/bin/
ENV TOKEN_URL="http://opaal:3333/token"
ENV SMD_URL="http://smd:27779"
ENV LISTEN_ADDR="0.0.0.0:27777"
ENV JWKS_URL=""
ENV JWKS_URL="http://opaal:3333/keys"

# nobody 65534:65534
USER 65534:65534

# Set up the command to start the service.
CMD /usr/local/bin/cloud-init-server --listen ${LISTEN_ADDR} --smd-url ${SMD_URL} --token-url ${TOKEN_URL} --jwks-url ${JWKS_URL:-""}
CMD /usr/local/bin/cloud-init-server --listen ${LISTEN_ADDR} --smd-url ${SMD_URL} --token-url ${TOKEN_URL} --jwks-url ${JWKS_URL}


ENTRYPOINT ["/sbin/tini", "--"]

0 comments on commit 48a4812

Please sign in to comment.