summaryrefslogtreecommitdiffhomepage
path: root/public/v4/apps/keycloak.yml
diff options
context:
space:
mode:
authorKasra Bigdeli <[email protected]>2020-08-16 19:37:46 -0400
committerKasra Bigdeli <[email protected]>2020-08-16 19:37:46 -0400
commit723ca5cca53bf5a569cb951b77f7a9b71fe088bd (patch)
tree0cfbfb92e39cdd2a3ed7470eecbb98fdd27f8490 /public/v4/apps/keycloak.yml
parent9ae0159100c53fcd357ec82cb819e3a863b34c57 (diff)
downloadcaprover-one-click-apps-723ca5cca53bf5a569cb951b77f7a9b71fe088bd.tar.gz
caprover-one-click-apps-723ca5cca53bf5a569cb951b77f7a9b71fe088bd.zip
Fixed build
Diffstat (limited to 'public/v4/apps/keycloak.yml')
-rw-r--r--public/v4/apps/keycloak.yml147
1 files changed, 75 insertions, 72 deletions
diff --git a/public/v4/apps/keycloak.yml b/public/v4/apps/keycloak.yml
index cee2887..ab615a5 100644
--- a/public/v4/apps/keycloak.yml
+++ b/public/v4/apps/keycloak.yml
@@ -1,80 +1,83 @@
captainVersion: 4
services:
- $$cap_appname-db:
- image: postgres:$$cap_postgres_version
- volumes:
- - $$cap_appname-db-data:/var/lib/postgresql/data
- restart: always
- environment:
- POSTGRES_USER: keycloak
- POSTGRES_PASSWORD: $$cap_pg_pass
- POSTGRES_DB: keycloak
- caproverExtra:
- notExposeAsWebApp: "true"
- $$cap_appname:
- image: jboss/keycloak:$$cap_keycloak_version
- depends_on:
- - $$cap_appname-db
- restart: always
- environment:
- DB_VENDOR: postgres
- DB_ADDR: srv-captain--$$cap_appname-db
- POSTGRES_DB: keycloak
- DB_USER: keycloak
- DB_PASSWORD: $$cap_pg_pass
- KEYCLOAK_USER: $$cap_keycloak_user
- KEYCLOAK_PASSWORD: $$cap_keycloak_password
- PROXY_ADDRESS_FORWARDING: "true"
- caproverExtra:
- containerHttpPort: "8080"
+ $$cap_appname-db:
+ image: postgres:$$cap_postgres_version
+ volumes:
+ - $$cap_appname-db-data:/var/lib/postgresql/data
+ restart: always
+ environment:
+ POSTGRES_USER: keycloak
+ POSTGRES_PASSWORD: $$cap_pg_pass
+ POSTGRES_DB: keycloak
+ caproverExtra:
+ notExposeAsWebApp: 'true'
+ $$cap_appname:
+ image: jboss/keycloak:$$cap_keycloak_version
+ depends_on:
+ - $$cap_appname-db
+ restart: always
+ environment:
+ DB_VENDOR: postgres
+ DB_ADDR: srv-captain--$$cap_appname-db
+ POSTGRES_DB: keycloak
+ DB_USER: keycloak
+ DB_PASSWORD: $$cap_pg_pass
+ KEYCLOAK_USER: $$cap_keycloak_user
+ KEYCLOAK_PASSWORD: $$cap_keycloak_password
+ PROXY_ADDRESS_FORWARDING: 'true'
+ caproverExtra:
+ containerHttpPort: '8080'
caproverOneClickApp:
- variables:
- - id: $$cap_postgres_version
- label: Postgres Version
- defaultValue: "9.6"
- description: Check out their Docker page for the valid tags
- https://hub.docker.com/r/library/postgres/tags/
- validRegex: /^([^\s^\/])+$/
- - id: $$cap_keycloak_version
- label: Keycloak Version
- defaultValue: 6.0.1
- description: Check out their Docker page for the valid tags
- https://hub.docker.com/r/jboss/keycloak/tags
- validRegex: /^([^\s^\/])+$/
- - id: $$cap_pg_pass
- label: Postgres Password
- description: "Password strength requeriments: Should contain at least one digit,
- one lower case, one upper case and at least 12 from the mentioned
- characters."
- validRegex: /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{12,}$/
- - id: $$cap_keycloak_user
- label: Keycloak user
- description: ""
- validRegex: /.{1,}/
- - id: $$cap_keycloak_password
- label: Keycloak password
- description: "Password strength requeriments: Should contain at least one digit,
- one lower case, one upper case and at least 12 from the mentioned
- characters."
- validRegex: /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{12,}$/
- instructions:
- start: >-
- Keycloak is an Open Source Identity and Access Management solution for
- modern Applications and Services. It makes it easy to secure applications
- and services with little to no code.
+ variables:
+ - id: $$cap_postgres_version
+ label: Postgres Version
+ defaultValue: '9.6'
+ description: Check out their Docker page for the valid tags
+ https://hub.docker.com/r/library/postgres/tags/
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_keycloak_version
+ label: Keycloak Version
+ defaultValue: 6.0.1
+ description: Check out their Docker page for the valid tags
+ https://hub.docker.com/r/jboss/keycloak/tags
+ validRegex: /^([^\s^\/])+$/
+ - id: $$cap_pg_pass
+ label: Postgres Password
+ description:
+ 'Password strength requeriments: Should contain at least one digit,
+ one lower case, one upper case and at least 12 from the mentioned
+ characters.'
+ validRegex: /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{12,}$/
+ - id: $$cap_keycloak_user
+ label: Keycloak user
+ description: ''
+ validRegex: /.{1,}/
+ - id: $$cap_keycloak_password
+ label: Keycloak password
+ description:
+ 'Password strength requeriments: Should contain at least one digit,
+ one lower case, one upper case and at least 12 from the mentioned
+ characters.'
+ validRegex: /^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])[0-9a-zA-Z]{12,}$/
+ instructions:
+ start: >-
+ Keycloak is an Open Source Identity and Access Management solution for
+ modern Applications and Services. It makes it easy to secure applications
+ and services with little to no code.
- For documentation, see: https://www.keycloak.org/documentation.html
+ For documentation, see: https://www.keycloak.org/documentation.html
- For source code, see: https://github.com/keycloak/keycloak
+ For source code, see: https://github.com/keycloak/keycloak
- For docker image, see: https://hub.docker.com/r/jboss/keycloak
+ For docker image, see: https://hub.docker.com/r/jboss/keycloak
- Enter your Keycloak Configuration parameters and click on next. It will take about a minute for the process to finish.
- end: Keycloak is deployed and available as srv-captain--$$cap_appname:8080 to
- other apps
- displayName: ""
- isOfficial: true
- description: Keycloak is an open source identity and access management solution
- documentation: Taken from
- https://github.com/jboss-dockerfiles/keycloak/blob/master/server/README.md
+ Enter your Keycloak Configuration parameters and click on next. It will take about a minute for the process to finish.
+ end:
+ Keycloak is deployed and available as srv-captain--$$cap_appname:8080 to
+ other apps
+ displayName: ''
+ isOfficial: true
+ description: Keycloak is an open source identity and access management solution
+ documentation: Taken from
+ https://github.com/jboss-dockerfiles/keycloak/blob/master/server/README.md