-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from DIMSI-IS/MergeTmpOusmanePierre
Production v0.2.0 from local sources
- Loading branch information
Showing
36 changed files
with
979 additions
and
203 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Set line endings for shell scripts to LF | ||
*.sh text eol=lf | ||
*.env text eol=lf | ||
*.yml text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,12 @@ | ||
# Avoid compromising secret information | ||
common/** | ||
flower/** | ||
mariadb/** | ||
keycloak/** | ||
keycloak/** | ||
src/core/.env.dev | ||
src/core/.env.dev.tmpl | ||
src/core/.env.production.tmpl | ||
src/core/dev.entrypoint.sh | ||
src/core/dev.Dockerfile | ||
|
||
common/secret/** | ||
install.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
### DATABASE CONFIGURATION [MANDATORY] ### | ||
DB_IP= | ||
DB_PORT= | ||
DB_USER_NAME= | ||
DB_USER_PASSWORD= | ||
DB_BASE= | ||
DB_IP=IP_DATABASE_TO_REPLACE | ||
DB_PORT=PORT_DATABASE_TO_REPLACE | ||
DB_USER_NAME=USERNAME_DATABASE_TO_REPLACE | ||
DB_USER_PASSWORD=PASSWORD_DATABASE_TO_REPLACE | ||
DB_BASE=NAME_DATABASE_TO_REPLACE | ||
|
||
### FLOWER AUTH CONFIGURATION [OPTIONAL] ### | ||
FLOWER_USER= | ||
FLOWER_PASSWORD= | ||
|
||
### OPENID [MANDATORY] ### | ||
OPENID_ISSUER= | ||
OPENID_CLIENTID= | ||
OPENID_CLIENTSECRET= | ||
OPENID_CLIENTID=backroll-api | ||
OPENID_CLIENTSECRET=CLIENT_SECRET_TO_REPLACE | ||
OPENID_ISSUER=http://IP_TO_REPLACE:8081/realms/backroll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
MARIADB_ROOT_PASSWORD=ROOT_DATABASE_TO_REPLACE | ||
MARIADB_DATABASE=NAME_DATABASE_TO_REPLACE | ||
MARIADB_USER=USERNAME_DATABASE_TO_REPLACE | ||
MARIADB_PASSWORD=PASSWORD_DATABASE_TO_REPLACE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
FROM quay.io/keycloak/keycloak:20.0.0 | ||
|
||
# Fixes logout "invalid parameter: redirect_uri" error but the user name doesn’t show up in the backroll navigation bar. | ||
#FROM quay.io/keycloak/keycloak:17.0 | ||
|
||
COPY realm.json /tmp/ | ||
RUN /opt/keycloak/bin/kc.sh import --file /tmp/realm.json | ||
|
||
CMD [ "start-dev" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
KEYCLOAK_ADMIN=KEYCLOAK_ADMIN_USERNAME | ||
KEYCLOAK_ADMIN_PASSWORD=KEYCLOAK_ADMIN_PASSWORD_ENV |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
{ | ||
"realm": "backroll", | ||
"enabled": true, | ||
"users": [ | ||
{ | ||
"username": "KEYCLOACK_DEFAULT_USER_USERNAME", | ||
"enabled": true, | ||
"credentials": [{ "type": "password", "value": "KEYCLOACK_DEFAULT_USER_PASSWORD" }] | ||
} | ||
], | ||
"clients": [ | ||
{ | ||
"clientId": "backroll-front", | ||
"enabled": true, | ||
"publicClient": true, | ||
"baseUrl": "http://IP_TO_REPLACE:8080/admin/dashboard", | ||
"redirectUris": ["http://IP_TO_REPLACE:8080/*"], | ||
"webOrigins": ["*"] | ||
}, | ||
{ | ||
"clientId": "backroll-api", | ||
"enabled": true, | ||
"clientAuthenticatorType": "client-secret", | ||
"secret": "CLIENT_SECRET_TO_REPLACE", | ||
"redirectUris": ["http://IP_TO_REPLACE:5050/*"], | ||
"webOrigins": ["*"], | ||
"serviceAccountsEnabled": true | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
### BACKROLL UI CONFIGURATION [MANDATORY] ### | ||
API_ENDPOINT_URL= | ||
OPENID_ISSUER= | ||
OPENID_CLIENTID= | ||
OPENID_REALM= | ||
API_ENDPOINT_URL=http://IP_TO_REPLACE:5050 | ||
OPENID_ISSUER=http://IP_TO_REPLACE:8081 | ||
OPENID_REALM=backroll | ||
OPENID_CLIENTID=backroll-front |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.