-
Notifications
You must be signed in to change notification settings - Fork 115
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker file not working #2
Comments
You need to compile the jms-event-forwarder & user-storage-provider-demo extensions.
|
After compile 2 prevoius artifacts in extensions folder, How can I deploy all pieces?, when I run docker compose the keycloak container never starts or is up only for a momment.
Container logs error
Docker Version: 18.09.5 |
@thomasdarimont @jannie-louwrens I am facing the same issue which @titobundy posted. I think this is because h2 database is being used instead of postgreSQL | 15:58:53,398 INFO [org.hibernate.dialect.Dialect] (ServerService Thread Pool -- 67) HHH000400: Using dialect: org.hibernate.dialect.H2Dialect |
Hi there, this example is outdated and no longer maintained. |
I get the following error if I try to run the docker compose image:
ERROR: Service 'idm-keycloak' failed to build: COPY failed: no source files were specified
What can I do to resolve this?
PS C:\Users\peter\Desktop\keycloak-docker-demo-master\idm-system> docker-compose up
Building idm-keycloak
Step 1/32 : FROM jboss/keycloak:7.0.0
---> 0e016c61a36f
Step 2/32 : ENV KEYCLOAK_ADMIN_USER admin
---> Using cache
---> 0a6b3ad8a5e9
Step 3/32 : ENV KEYCLOAK_ADMIN_PASSWORD admin
---> Using cache
---> acf093e284c3
Step 4/32 : ENV LOG_SERVER_URL udp:graylog
---> Using cache
---> 25c6cda920fc
Step 5/32 : ENV LOG_SERVER_PORT 12123
---> Using cache
---> 49383f8e1f80
Step 6/32 : ENV JDBC_URL JDBC_URL=jdbc:postgresql://sso-db/idm_keycloak_demo
---> Using cache
---> 43a5a240f5b3
Step 7/32 : ENV JDBC_USER keycloak
---> Using cache
---> 604847fd7876
Step 8/32 : ENV JDBC_PASSWORD keycloak
---> Using cache
---> 780cd7081d8e
Step 9/32 : ENV JDBC_DRIVERNAME postgres
---> Using cache
---> 0d847dbb744a
Step 10/32 : ENV ACTIVE_MQ_USER idm
---> Using cache
---> 72f0892460ec
Step 11/32 : ENV ACTIVE_MQ_PASSWORD idm
---> Using cache
---> d97bd5481b50
Step 12/32 : ENV ACTIVE_MQ_URL tcp://sso-amq:61616
---> Using cache
---> 208d389b3b75
Step 13/32 : ENV KEYCLOAK_EVENT_QUEUE idm.queue.keycloak.rawevents
---> Using cache
---> 53f9231c7db3
Step 14/32 : ENV KEYCLOAK_CONTEXT_PATH u/auth
---> Using cache
---> 1b7ae64a8710
Step 15/32 : ENV JAVA_OPTS -Xms128M -Xmx2G -XX:MetaspaceSize=128M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true -Djava.net.preferIPv4Stack=true
---> Using cache
---> 5eecb222bf73
Step 16/32 : USER root
---> Using cache
---> 4d8667c17709
Step 17/32 : RUN ln -f -s /usr/share/zoneinfo/Europe/Berlin /etc/localtime
---> Using cache
---> 0303c95ee0f3
Step 18/32 : USER jboss
---> Using cache
---> 316bba4bd426
Step 19/32 : ADD /modules /opt/jboss/keycloak/modules
---> Using cache
---> f0476f762e14
Step 20/32 : ADD /themes/springio18 /opt/jboss/keycloak/themes/springio18
---> Using cache
---> c5eeee11c927
Step 21/32 : ADD /themes/springio19 /opt/jboss/keycloak/themes/springio19
---> Using cache
---> b18822a74466
Step 22/32 : ADD /themes/wjax18 /opt/jboss/keycloak/themes/wjax18
---> Using cache
---> 9421df5fa1cd
Step 23/32 : COPY keycloak.jks /opt/jboss/keycloak/standalone/configuration
---> Using cache
---> 52d093b8e36b
Step 24/32 : COPY activemq-rar.rar /opt/jboss/keycloak
---> Using cache
---> b646f30a9c75
Step 25/32 : COPY extensions/jms-event-forwarder/target/jms-event-forwarder*.jar /opt/jboss/keycloak/modules/de/tdlabs/keycloak/ext/jms-event-forwarder/main/jms-event-forwarder.jar
ERROR: Service 'idm-keycloak' failed to build: COPY failed: no source files were specified
The text was updated successfully, but these errors were encountered: