Skip to content
This repository has been archived by the owner on Apr 17, 2023. It is now read-only.

Commit

Permalink
Adding simple instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
matzew committed Sep 5, 2017
1 parent a5bf94d commit 6afc2cf
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docker-compose/development/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Keycloak and MySQL - Development Environment

For running UPS, you need a database and a running Keycloak broker. This folder contains a _development_ environment, that spins up a MySQL 5.x DB and a Keycloak server that imports our demo realm.

## Getting started

To run these servers, simply execute the following command:

```
docker-compose -f development-env.yaml up
```

## Running the UPS

To run the UPS `WAR` file, you need to know the IP address of the keycloak broker, you can extract it like:

```
docker inspect --format '{{ .NetworkSettings.IPAddress }}' name_or_id_of_the_keycloak_container
```

That value needs to be used when launching the _prepared_ WildFly11 container, like:

```
/$WF_HOME/bin/standalone.sh -Dups.realm.name=aerogear -Dups.auth.server.url=http://172.17.0.7:8080/auth -b 0.0.0.0
```

**NOTE:** This is for development only - in production you should not use wildcard URLs!


0 comments on commit 6afc2cf

Please sign in to comment.