I have key cloak running well in a local container
when I try to push it up to the cloud using a docker container it says I am not using a secure connection.
I am using a Postgres dump to restore my realm, create users blah blah
I have obtained 2 files tls. cert and tls. key and am working towards putting them in a /etc/x509/https folder on the server in the cloud. then I am to add them as volumes? in my docker-compose file. not sure how to do this.
docker-compose file follows ( I know the admin user and password are not being used due to restoring the postgres dump, I just haven’t gotten around to deleting them
image: jboss/keycloak build: context: ./keycloak environment: DB_VENDOR: POSTGRES DB_ADDR: postgres DB_DATABASE: keycloak DB_USER: keycloak DB_SCHEMA: public DB_PASSWORD: password KEYCLOAK_USER: admin KEYCLOAK_PASSWORD: Pa55w0rd ports: - 8080:8080 - 8443:8443 volumes: - certs:/etc/x509/https # map certificates to container depends_on: - postgres volumes: postgres_data: driver: local certs:/etc/x509/https driver: local
any help appreciated