Commit e992fcf0 authored by William Tucker's avatar William Tucker
Browse files

Fixed Keycloak startup

parent 8752821c
Loading
Loading
Loading
Loading
+3 −5
Original line number Diff line number Diff line
@@ -32,12 +32,10 @@ RUN /opt/jboss/tools/build-keycloak.sh
# Copy init scripts and configuration
COPY init.d/* /docker-init.d/

USER $ESGF_UID

EXPOSE 8080
EXPOSE 8443

# TODO:
# Start Keycloak in the foreground
# Start Keycloak as the Keycloak user
USER $ESGF_UID
WORKDIR /opt/jboss/keycloak/bin
CMD ["-b", "0.0.0.0"]
CMD ["/opt/jboss/keycloak/bin/standalone.sh", "-Djboss.bind.address=0.0.0.0", "-Djboss.bind.address.private=127.0.0.1", "-c=standalone-ha.xml"]
+0 −10
Original line number Diff line number Diff line
@@ -237,13 +237,3 @@ if [ ! -e "$configured_file" ]; then
    /opt/jboss/tools/autorun.sh
    /opt/jboss/tools/vault.sh
fi

export SYS_PROPS

##################
# Start Keycloak #
##################

#echo "exec /opt/jboss/keycloak/bin/standalone.sh [$SYS_PROPS] [$@]"
#exec /opt/jboss/keycloak/bin/standalone.sh $SYS_PROPS $@
#exit $?