Skip to content

Commit 081c696

Browse files
Merge pull request #3 from ComputerScienceHouse/7.x_upgrade
Pushing to 7.0.1
2 parents ba90169 + 036ea60 commit 081c696

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# computersciencehouse/keycloak
2-
FROM jboss/keycloak:4.8.3.Final
2+
FROM jboss/keycloak:7.0.1
33
MAINTAINER Steven Mirabito (smirabito@csh.rit.edu)
44

55
# Temporarily elevate permissions
@@ -11,7 +11,7 @@ ADD customization /opt/jboss/keycloak/customization
1111
# Download theme
1212
ADD https://s3.csh.rit.edu/csh-material-login/latest.zip /opt/jboss/keycloak/csh-theme.zip
1313
RUN cd /opt/jboss/keycloak && \
14-
chown jboss:jboss csh-theme.zip && \
14+
chown jboss:0 csh-theme.zip && \
1515
chmod 644 csh-theme.zip
1616

1717
# Execute customization script

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ Start a Keycloak instance:
1414

1515
When 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

3333
Specify the port of the PostgreSQL server (optional, default is `5432`).
3434

35-
##### POSTGRES_DATABASE
35+
##### DB_DATABASE
3636

3737
Specify the name of the PostgreSQL database (optional, default is `keycloak`).
3838

39-
##### POSTGRES_USER
39+
##### DB_USER
4040

4141
Specify the user for the PostgreSQL database (optional, default is `keycloak`).
4242

43-
##### POSTGRES_PASSWORD
43+
##### DB_PASSWORD
4444

4545
Specify the password for the PostgreSQL database (optional, default is `password`).
4646

0 commit comments

Comments
 (0)