diff --git a/Dockerfile b/Dockerfile index 6da72d0..fe5e551 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM jboss/keycloak:9.0.2 EXPOSE 8080 +EXPOSE 8443 COPY . ${WORKDIR} diff --git a/ansible/post-deploy.yml b/ansible/post-deploy.yml index e154799..91abc3e 100644 --- a/ansible/post-deploy.yml +++ b/ansible/post-deploy.yml @@ -37,11 +37,12 @@ app: keycloak mappings: - "http:{{ http_port }}:{{ http_port }}" + - "https:{{ https_port }}:{{ https_port }}" state: absent - name: Set HTTP 443 port dokku_ports: app: keycloak mappings: - - "https:443:{{ http_port }}" + - "https:443:{{ https_port }}" state: present diff --git a/ansible/vars/all.yml b/ansible/vars/all.yml index e49685b..cd2018e 100644 --- a/ansible/vars/all.yml +++ b/ansible/vars/all.yml @@ -2,4 +2,5 @@ autonomic_admin_mail: helo@autonomic.zone autonomic_admin_user: autonomic http_port: "8080" +https_port: "8443" proxy_address_forwarding: "true"