[keycloak-user] Help with docker compose
juanignacioborda at gmail.com
juanignacioborda at gmail.com
Sun Nov 26 17:24:13 EST 2017
Hi Steve Thanks for testing
I'm running on Debian stretch
Docker version 17.06.1-ce, build 874a737
docker-compose version 1.17.1, build 6d101fb
On Sat, Nov 25, 2017 at 4:48 PM Michael Liebe <Michael.Liebe at ist.com> wrote:
> I think it should be MYSQL_USER instead of MYSQL_USERNAME as environment
> variable name in the Keycloak configuration.
>
> Regards,
> Michael
>
> On 2017-11-24, 10:00, "keycloak-user-bounces at lists.jboss.org on behalf of
> Steve Short" <keycloak-user-bounces at lists.jboss.org on behalf of
> Steve.Short at clearswift.com> wrote:
>
> Your compose file worked fine for me as a version 1 compose file once
> I took out the version, service and depends-on.
> What are the version of your docker-compose and docker?
> Rgds
> Steve
>
>
>
> -----Original Message-----
> From: keycloak-user-bounces at lists.jboss.org [mailto:
> keycloak-user-bounces at lists.jboss.org] On Behalf Of
> juanignacioborda at gmail.com
> Sent: 23 November 2017 14:35
> To: keycloak-user at lists.jboss.org
> Subject: [keycloak-user] Help with docker compose
>
> Hi there I'm having some issues setting up a docker-compose file my
> file is as folows:
>
> version: "3"
>
> services:
>
>
> ###########################
> ##### Mysql server DB ####
> ###########################
> mysql:
> image: mysql:5
>
> environment:
> MYSQL_ROOT_PASSWORD: developer
> MYSQL_DATABASE: keycloack
> MYSQL_USER: keycloak
> MYSQL_PASSWORD: developer
>
> volumes:
> - ./backups:/backups
>
> ###############################
> ##### KEYCLOAK server ####
> ###############################
> server:
> image: jboss/keycloak
> depends_on:
> - mysql
> ports:
> - "9081:8080"
>
> environment:
> DB_VENDOR: MYSQL
> MYSQL_DATABASE: keycloak
> MYSQL_USERNAME: root
> MYSQL_PASSWORD: developer
> KEYCLOAK_USER: admin
> KEYCLOAK_PASSWORD: keycloak
> VIRTUAL_HOST: keycloack.lab
>
> links:
> - mysql:mysql
>
>
> But server refuses to start and throw db cant connect errors Any help
> would be very appreciated Thanks!
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
> This e-mail and any files transmitted with it are strictly
> confidential, may be privileged and are intended only for use by the
> addressee unless otherwise indicated. If you are not the intended
> recipient any use, dissemination, printing or copying is strictly
> prohibited and may be unlawful. If you have received this e-mail in error,
> please delete it immediately and contact the sender as soon as possible.
> Clearswift cannot be held liable for delays in receipt of an email or any
> errors in its content. Clearswift accepts no responsibility once an e-mail
> and any attachments leave us. Unless expressly stated, opinions in this
> message are those of the individual sender and not of Clearswift.
>
> This email message has been inspected by Clearswift for inappropriate
> content and security threats.
>
> To find out more about Clearswift’s solutions please visit
> www.clearswift.com
>
> _______________________________________________
> keycloak-user mailing list
> keycloak-user at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/keycloak-user
>
>
More information about the keycloak-user
mailing list