feat(keila): update configuration (#966)

Co-authored-by: Ronald Loyko <info@nordia.io>
This commit is contained in:
Ronald Loyko 2023-07-13 23:30:25 +07:00 committed by GitHub
parent f529424485
commit 16c5aebfb3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 21 additions and 14 deletions

View File

@ -4,7 +4,6 @@ services:
caproverExtra: caproverExtra:
containerHttpPort: $$cap_KEILA_PORT containerHttpPort: $$cap_KEILA_PORT
image: pentacent/keila:$$cap_KEILA_VERSION image: pentacent/keila:$$cap_KEILA_VERSION
hostname: $$cap_appname.$$cap_root_domain
environment: environment:
DB_URL: postgres://$$cap_POSTGRES_USER:$$cap_POSTGRES_PASSWORD@srv-captain--$$cap_appname-db/$$cap_POSTGRES_DATABASE DB_URL: postgres://$$cap_POSTGRES_USER:$$cap_POSTGRES_PASSWORD@srv-captain--$$cap_appname-db/$$cap_POSTGRES_DATABASE
DB_ENABLE_SSL: $$cap_KEILA_DB_ENABLE_SSL DB_ENABLE_SSL: $$cap_KEILA_DB_ENABLE_SSL
@ -23,11 +22,14 @@ services:
MAILER_SMTP_PORT: $$cap_KEILA_MAILER_SMTP_PORT MAILER_SMTP_PORT: $$cap_KEILA_MAILER_SMTP_PORT
MAILER_SMTP_USER: $$cap_KEILA_MAILER_SMTP_USER MAILER_SMTP_USER: $$cap_KEILA_MAILER_SMTP_USER
MAILER_SMTP_PASSWORD: $$cap_KEILA_MAILER_SMTP_PASSWORD MAILER_SMTP_PASSWORD: $$cap_KEILA_MAILER_SMTP_PASSWORD
HCAPTCHA_SITE_KEY: $$cap_KEILA_HCAPTCHA_SITE_KEY CAPTCHA_PROVIDER: $$cap_KEILA_CAPTCHA_PROVIDER
HCAPTCHA_SECRET_KEY: $$cap_KEILA_HCAPTCHA_SECRET_KEY CAPTCHA_SITE_KEY: $$cap_KEILA_CAPTCHA_SITE_KEY
HCAPTCHA_URL: $$cap_KEILA_HCAPTCHA_URL CAPTCHA_SECRET_KEY: $$cap_KEILA_CAPTCHA_SECRET_KEY
CAPTCHA_URL: $$cap_KEILA_CAPTCHA_URL
depends_on: depends_on:
- $$cap_appname-db - $$cap_appname-db
volumes:
- $$cap_appname-upload:/opt/app/uploads
$$cap_appname-db: $$cap_appname-db:
caproverExtra: caproverExtra:
@ -58,7 +60,7 @@ caproverOneClickApp:
- id: $$cap_KEILA_VERSION - id: $$cap_KEILA_VERSION
label: Keila | Version Tag label: Keila | Version Tag
description: Check out their valid tags at https://hub.docker.com/r/pentacent/keila/tags description: Check out their valid tags at https://hub.docker.com/r/pentacent/keila/tags
defaultValue: '0.9' defaultValue: '0.12.2'
validRegex: /.{1,}/ validRegex: /.{1,}/
- id: $$cap_KEILA_PORT - id: $$cap_KEILA_PORT
label: Keila | Port label: Keila | Port
@ -132,15 +134,20 @@ caproverOneClickApp:
label: Keila | SMTP Password label: Keila | SMTP Password
description: Password for the SMTP server. description: Password for the SMTP server.
validRegex: /.{1,}/ validRegex: /.{1,}/
- id: $$cap_KEILA_HCAPTCHA_SITE_KEY - id: $$cap_KEILA_CAPTCHA_PROVIDER
label: Keila | hCaptcha Site Key label: Keila | Captcha Provider
description: Site key for hCaptcha. description: Provider that serves the Captcha.
- id: $$cap_KEILA_HCAPTCHA_SECRET_KEY defaultValue: 'hcaptcha'
label: Keila | hCaptcha Secret Key validRegex: /^(hcaptcha|friendly_captcha)$/
description: Secret key for hCaptcha. - id: $$cap_KEILA_CAPTCHA_SITE_KEY
- id: $$cap_KEILA_HCAPTCHA_URL label: Keila | Captcha Site Key
label: Keila | hCaptcha Verification URL description: Site key for captcha provider.
description: Verification URL for hCaptcha. - id: $$cap_KEILA_CAPTCHA_SECRET_KEY
label: Keila | Captcha Secret Key
description: Secret key for captcha provider.
- id: $$cap_KEILA_CAPTCHA_URL
label: Keila | Captcha Verification URL
description: Verification URL for captcha provider.
- id: $$cap_POSTGRES_VERSION - id: $$cap_POSTGRES_VERSION
label: PostgreSQL | Version Tag label: PostgreSQL | Version Tag
description: Check out their valid tags at https://hub.docker.com/_/postgres/tags description: Check out their valid tags at https://hub.docker.com/_/postgres/tags