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:
parent
54d3aebfb9
commit
c0f87f370b
|
|
@ -68,7 +68,7 @@ caproverOneClickApp:
|
||||||
variables:
|
variables:
|
||||||
- id: $$cap_outline_version
|
- id: $$cap_outline_version
|
||||||
label: 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
|
description: Check out their page for the valid tags https://hub.docker.com/r/outlinewiki/outline/tags
|
||||||
validRegex: /^([^\s^\/])+$/
|
validRegex: /^([^\s^\/])+$/
|
||||||
- id: $$cap_postgres_version
|
- id: $$cap_postgres_version
|
||||||
|
|
@ -211,7 +211,7 @@ caproverOneClickApp:
|
||||||
|
|
||||||
const service = api.dockerode.getService(dockerUpdateObject.Name);
|
const service = api.dockerode.getService(dockerUpdateObject.Name);
|
||||||
await setServiceInstances(service, 0);
|
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;
|
dockerUpdateObject.version = (await service.inspect()).Version.Index;
|
||||||
|
|
||||||
return dockerUpdateObject;
|
return dockerUpdateObject;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue