File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed
Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11# computersciencehouse/keycloak
2- FROM jboss/keycloak:4.8.3.Final
2+ FROM jboss/keycloak:7.0.1
33MAINTAINER Steven Mirabito (smirabito@csh.rit.edu)
44
55# Temporarily elevate permissions
@@ -11,7 +11,7 @@ ADD customization /opt/jboss/keycloak/customization
1111# Download theme
1212ADD https://s3.csh.rit.edu/csh-material-login/latest.zip /opt/jboss/keycloak/csh-theme.zip
1313RUN cd /opt/jboss/keycloak && \
14- chown jboss:jboss csh-theme.zip && \
14+ chown jboss:0 csh-theme.zip && \
1515chmod 644 csh-theme.zip
1616
1717# Execute customization script
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ Start a Keycloak instance:
1414
1515When starting the Keycloak instance you can pass a number of environment variables to configure how it connects to PostgreSQL. For example:
1616
17- docker run --name keycloak -e POSTGRES_PORT_5432_TCP_ADDR=postgres.mycompany.com -e POSTGRES_DATABASE =keycloak -e POSTGRES_USER =keycloak -e POSTGRES_PASSWORD =password computersciencehouse/keycloak
17+ docker run --name keycloak -e POSTGRES_PORT_5432_TCP_ADDR=postgres.mycompany.com -e DB_DATABASE =keycloak -e DB_USER =keycloak -e DB_PASSWORD =password computersciencehouse/keycloak
1818
1919##### KEYCLOAK_USER
2020
@@ -32,15 +32,15 @@ Specify the hostname of the PostgreSQL server.
3232
3333Specify the port of the PostgreSQL server (optional, default is ` 5432 ` ).
3434
35- ##### POSTGRES_DATABASE
35+ ##### DB_DATABASE
3636
3737Specify the name of the PostgreSQL database (optional, default is ` keycloak ` ).
3838
39- ##### POSTGRES_USER
39+ ##### DB_USER
4040
4141Specify the user for the PostgreSQL database (optional, default is ` keycloak ` ).
4242
43- ##### POSTGRES_PASSWORD
43+ ##### DB_PASSWORD
4444
4545Specify the password for the PostgreSQL database (optional, default is ` password ` ).
4646
You can’t perform that action at this time.
0 commit comments