Folks I'm trying to deploy aerogear on Kubernetes. I'm using the wildfly image from: https://hub.docker.com/r/aerogear/unifiedpush-wildfly/
As I have my databases outside of Kubernetes I've built the image as described here:
docker build -t aerogear/unifiedpush-wildfly .
With the following dockerfile:
Unfortunately the dockerfile seems to point to an invalid tarball:
https://hub.docker.com/r/aerogear/unifiedpush-wildfly/~/ dockerfile/
RUN curl -L -o /opt/aerogear-unifiedpush-server-$UPSVER-dist.tar.gz https://github.com/aerogear/ae rogear-unifiedpush-server/rele $UPSVER/aerogearases/download/ -unifiedpush-server-$UPSVER- dist.tar.gz
So I went to:
https://github.com/aerogear/aerogear-unifiedpush-server/rele ases/
And got:
https://github.com/aerogear/aerogear-unifiedpush-server/rele ases/download/1.2.0-beta.1/ aerogear-unifiedpush-server-1. 2.0-beta.1-dist.tar.gz
Then tried to deploy the wars getting a ton of errors: https://pastebin.com/G89f3EpM
It seems that among other problems a mysql is being deployed on my server which makes no sense as I've provided the variables in standalone.xml:<connection-url>jdbc:mysql://${env.UNIFIEDPUSH_PORT_3306_TCP _ADDR}:${env.UNIFIEDPUSH_PORT_ 3306_TCP_PORT}/${env.UNIFIEDPU SH_ENV_MYSQL_DATABASE}? useUnicode=true&characterE ncoding=UTF-8</connection-url>
<user-name>${env.UNIFIEDPUSH_ENV_MYSQL_USER}</user-name>
<password>${env.UNIFIEDPUSH_ENV_MYSQL_PASSWORD}</password>
<connection-url>jdbc:mysql://${env.KEYCLOAK_PORT_3306_TCP_AD DR}:${env.KEYCLOAK_PORT_3306_ TCP_PORT}/${env.KEYCLOAK_ENV_ MYSQL_DATABASE}?useUnicode= true&characterEncoding= UTF-8</connection-url>
<user-name>${env.KEYCLOAK_ENV_MYSQL_USER}</user-name>
<password>${env.KEYCLOAK_ENV_MYSQL_PASSWORD}</password>
<core-environment>
</core-environment>
<recovery-environment socket-binding="txn-recovery-environment" status-socket-binding="txn-sta tus-manager"/>
<socket-binding name="txn-recovery-environment" port="4712"/>
I'm not sure if the case is related to:https://issues.jboss.org/proje
cts/AGPUSH/issues/AGPUSH-2117? filter=allopenissues
Anyone had success deploying in kubernetes?
_______________________________________________
Aerogear-users mailing list
Aerogear-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/aerogear- users