Skip to content
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

Add a docker-compose based local dev environment #2

Merged
merged 2 commits into from
May 10, 2017

Conversation

daniel-ac-martin
Copy link
Contributor

Just use docker-compose up to start up the environment. You can
then access Keycloak on http://localhost:8080 and set it to use the
theme. Changes to the local files take effect without the need to
restart the server.

Just use `docker-compose up` to start up the environment. You can
then access Keycloak on http://localhost:8080 and set it to use the
theme. Changes to the local files take effect without the need to
restart the server.
@daniel-ac-martin
Copy link
Contributor Author

This might begin to address #1.

@paulwaitehomeoffice
Copy link
Collaborator

paulwaitehomeoffice commented May 9, 2017

Alrighty, I’m on macOS 10.12.4, running Docker 17.03.1-ce-mac5 (16048).

I did this:

  1. Switched to the local-dev-environment branch

  2. Ran the shell command docker-compose up in the keycloak-theme-govuk root directory

  3. Waited for Docker to download everything and bring everything up.

    The last messages I saw in the shell were:

     keycloak       | 11:53:04,115 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0060: Http management interface listening on http://127.0.0.1:9990/management
     keycloak       | 11:53:04,116 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0051: Admin console listening on http://127.0.0.1:9990
     keycloak       | 11:53:04,116 INFO  [org.jboss.as] (Controller Boot Thread) WFLYSRV0025: Keycloak 3.1.0.Final (WildFly Core 2.0.10.Final) started in 77762ms - Started 426 of 785 services (527 services are lazy, passive or on-demand)
    
  4. Visited http://localhost:8080 (and, just in case, https://localhost:8080) in Chrome.

I got Chrome’s “This site can’t be reached: localhost refused to connect” screen.

Is there something else I should be doing to make this work?

I don’t think I have anything else running that listens on 8080.

@paulwaitehomeoffice
Copy link
Collaborator

Marvellous, thanks @daniel-ac-martin — I can now access Keycloak on http://localhost:8080.

I’ll look back at my notes and write up some docs on working with this project.

@paulwaitehomeoffice paulwaitehomeoffice merged commit adef099 into master May 10, 2017
@daniel-ac-martin daniel-ac-martin deleted the local-dev-environment branch May 10, 2017 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants