Fix outline db migration (#869)

* Update Ghost to v5 breaking changes

* Fix formatting issue

* Upgrade keycloak to v18+ and switch to official repos breaking changes

* Made data persistent trough postgres

* Fix formatting

* Update outline to v0.64+ & add OIDC connector & add SMTP config & document OSS alternatives

* Fix db migration command

* Upgrade to latest version

---------

Co-authored-by: Matthieu Borgognon <matthieu.borgognon@advance-ticket.ch>
This commit is contained in:
Matthieu Borgognon 2023-02-19 23:30:14 -05:00 committed by GitHub
parent 54d3aebfb9
commit c0f87f370b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -68,7 +68,7 @@ caproverOneClickApp:
variables:
- id: $$cap_outline_version
label: Outline Version
defaultValue: 0.66.3
defaultValue: 0.68.1
description: Check out their page for the valid tags https://hub.docker.com/r/outlinewiki/outline/tags
validRegex: /^([^\s^\/])+$/
- id: $$cap_postgres_version
@ -211,7 +211,7 @@ caproverOneClickApp:
const service = api.dockerode.getService(dockerUpdateObject.Name);
await setServiceInstances(service, 0);
await run(["yarn", "sequelize:migrate", "--env=production-ssl-disabled"]);
await run(["yarn", "db:migrate", "--env=production-ssl-disabled"]);
dockerUpdateObject.version = (await service.inspect()).Version.Index;
return dockerUpdateObject;