fixes
This commit is contained in:
parent
845c40d23c
commit
41139ee2ab
@ -556,26 +556,6 @@
|
||||
volumes: []
|
||||
entrypoint: worker-webhooks
|
||||
variables:
|
||||
- id: "$$secret__app_db_root_pass"
|
||||
name: MARIADB_ROOT_PASSWORD
|
||||
label: MariaDB | _APP_DB_ROOT_PASS
|
||||
defaultValue: $$generate_hex(16)
|
||||
description: MariaDB server root password.
|
||||
- id: "$$config__app_db_schema"
|
||||
name: MARIADB_DATABASE
|
||||
label: MariaDB | _APP_DB_SCHEMA
|
||||
defaultValue: appwrite
|
||||
description: MariaDB server database schema.
|
||||
- id: "$$config__app_db_user"
|
||||
name: MARIADB_USER
|
||||
label: MariaDB | _APP_DB_USER
|
||||
defaultValue: user
|
||||
description: MariaDB server user name.
|
||||
- id: "$$secret__app_db_pass"
|
||||
name: MARIADB_PASSWORD
|
||||
label: MariaDB | _APP_DB_PASS
|
||||
defaultValue: $$generate_hex(16)
|
||||
description: MariaDB server user password.
|
||||
- id: "$$config__app_influxdb_host"
|
||||
name: _APP_INFLUXDB_HOST
|
||||
label: InfluxDB | _APP_INFLUXDB_HOST
|
||||
|
@ -177,14 +177,14 @@ async function searxng(service: any, template: any) {
|
||||
async function glitchtip(service: any, template: any) {
|
||||
const { postgresqlUser, postgresqlPassword, postgresqlDatabase, secretKeyBase, defaultEmail, defaultUsername, defaultPassword, defaultEmailFrom, emailSmtpHost, emailSmtpPort, emailSmtpUser, emailSmtpPassword, emailSmtpUseTls, emailSmtpUseSsl, emailBackend, mailgunApiKey, sendgridApiKey, enableOpenUserRegistration } = service.glitchTip
|
||||
const { id } = service
|
||||
|
||||
|
||||
const secrets = [
|
||||
`POSTGRES_PASSWORD@@@${postgresqlPassword}`,
|
||||
`SECRET_KEY@@@${secretKeyBase}`,
|
||||
`MAILGUN_API_KEY@@@${mailgunApiKey}`,
|
||||
`SENDGRID_API_KEY@@@${sendgridApiKey}`,
|
||||
`DJANGO_SUPERUSER_PASSWORD@@@${defaultPassword}`,
|
||||
`EMAIL_URL@@@${encrypt(`smtp://${emailSmtpUser}:${decrypt(emailSmtpPassword)}@${emailSmtpHost}:${emailSmtpPort}`)}`,
|
||||
emailSmtpUser && emailSmtpPassword && emailSmtpHost && emailSmtpPort && `EMAIL_URL@@@${encrypt(`smtp://${emailSmtpUser}:${decrypt(emailSmtpPassword)}@${emailSmtpHost}:${emailSmtpPort}`)} || ''`,
|
||||
`DATABASE_URL@@@${encrypt(`postgres://${postgresqlUser}:${decrypt(postgresqlPassword)}@${id}-postgresql:5432/${postgresqlDatabase}`)}`,
|
||||
`REDIS_URL@@@${encrypt(`redis://${id}-redis:6379`)}`
|
||||
]
|
||||
|
File diff suppressed because one or more lines are too long
@ -262,7 +262,9 @@
|
||||
? 'Migrating... it may take a while...'
|
||||
: "Migrate Appwrite's Database"}</button
|
||||
>
|
||||
<DocLink url="https://appwrite.io/docs/upgrade#run-the-migration" />
|
||||
<div>
|
||||
<DocLink url="https://appwrite.io/docs/upgrade#run-the-migration" />
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user