Setup environment passing in

This commit is contained in:
Luke Murphy 2020-03-09 10:57:07 +01:00
parent aa77ffd451
commit a35735491c
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -1,4 +1,16 @@
FROM jboss/keycloak:9.0.0
ARG DB_VENDOR=h2
ENV DB_VENDOR ${DB_VENDOR}
ARG KEYCLOAK_PASSWORD=autonomic
ENV KEYCLOAK_PASSWORD ${KEYCLOAK_PASSWORD}
ARG KEYCLOAK_USER=autonomic
ENV KEYCLOAK_USER ${KEYCLOAK_USER}
ARG PROXY_ADDRESS_FORWARDING=true
ENV PROXY_ADDRESS_FORWARDING ${PROXY_ADDRESS_FORWARDING}
EXPOSE 80:8080
EXPOSE 443:8443