diff --git a/apps/tymeslot/template.yml b/apps/tymeslot/template.yml index 3fa8999..adee809 100644 --- a/apps/tymeslot/template.yml +++ b/apps/tymeslot/template.yml @@ -4,7 +4,7 @@ x-harbor: slug: tymeslot name: Tymeslot description: Open-source meeting scheduling. - version: "1.48.1-c1" + version: "1.48.1-c2" primary: { service: app, port: 4000 } health_path: /healthcheck default_resources: { cpu_millis: 500, memory_mb: 1024, storage_mb: 5120 } @@ -18,6 +18,7 @@ x-harbor: - { key: ADMIN_PASSWORD, label: Admin password, type: string, secret: true, generate: random16 } - { key: SECRET_KEY_BASE_A, label: Session signing secret (part 1), type: string, secret: true, generate: random32 } - { key: SECRET_KEY_BASE_B, label: Session signing secret (part 2), type: string, secret: true, generate: random32 } + - { key: SECRET_KEY_BASE_C, label: Session signing secret (part 3), type: string, secret: true, generate: random32 } # Tymeslot reads this key as base64 of at least 32 bytes: two hex strings joined give 48. - { key: DATA_KEY_A, label: Data encryption key (part 1), type: string, secret: true, generate: hex32 } - { key: DATA_KEY_B, label: Data encryption key (part 2), type: string, secret: true, generate: hex32 } @@ -63,7 +64,8 @@ services: URL_SCHEME: https PORT: "4000" LISTEN_IP: 0.0.0.0 - SECRET_KEY_BASE: ${SECRET_KEY_BASE_A}${SECRET_KEY_BASE_B} + # Phoenix needs at least 64 bytes; each generated part is 24 characters. + SECRET_KEY_BASE: ${SECRET_KEY_BASE_A}${SECRET_KEY_BASE_B}${SECRET_KEY_BASE_C} DATA_ENCRYPTION_KEY: ${DATA_KEY_A}${DATA_KEY_B} DATABASE_HOST: db DATABASE_PORT: "5432"