Public Repository

Last pushed: 2 years ago
Short Description
Wildfly images derived from aerogear/unifiedpush official images
Full Description

AeroGear UnifiedPush server environment

This image prepares the environment required to run AeroGear UnifiedPush server with the binaries.

It is derived from official library image and includes the liquibase migrator process which is required to launch ups. It should be run the same way as the official library image

Running the image

We need to run two different datasources, and each has been slpit up into its own container.

For our bundled Keycloak instance run the following command:

docker run --name keycloak \
           -p 5306:3306 \
           -e MYSQL_USER=unifiedpush \
           -e MYSQL_PASSWORD=unifiedpush \
           -e MYSQL_DATABASE=keycloak \
           -e MYSQL_ROOT_PASSWORD=supersecret \
           -d mysql

For the database of the UnifiedPush Server itself, a similar command is needed:

docker run --name unifiedpush \
           -p 3306:3306 \
           -e MYSQL_USER=unifiedpush \
           -e MYSQL_PASSWORD=unifiedpush \
           -e MYSQL_DATABASE=unifiedpush \
           -e MYSQL_ROOT_PASSWORD=supersecret \
           -d mysql

The two databases are now linked into the container that serves WildFly, containing the latest release of the UPS

docker run --name ups \
           --link unifiedpush:unifiedpush \
           --link keycloak:keycloak \
           -p 8443:8443 \
           -it yvnicolas/aerogear-unifiedpush

Note: The image will run SSL by default with self signed certificates being automatically generated.

Docker Pull Command