services: fix outline pg ssl and planka init

This commit is contained in:
Brad Stein 2026-01-12 21:45:00 -03:00
parent d673493f89
commit 6376beebb1
2 changed files with 23 additions and 0 deletions

View File

@ -46,6 +46,8 @@ spec:
value: "3000"
- name: REDIS_URL
value: redis://outline-redis:6379
- name: PGSSLMODE
value: disable
- name: FILE_STORAGE
value: s3
- name: AWS_REGION

View File

@ -36,6 +36,27 @@ spec:
runAsGroup: 1000
fsGroup: 1000
fsGroupChangePolicy: OnRootMismatch
initContainers:
- name: init-user-data
image: docker.io/alpine:3.20
command: ["/bin/sh", "-c"]
args:
- |
set -e
mkdir -p /app/public/preloaded-favicons \
/app/public/favicons \
/app/public/user-avatars \
/app/public/background-images \
/app/private/attachments \
/app/.tmp
chown -R 1000:1000 /app/public /app/private /app/.tmp
volumeMounts:
- name: user-data
mountPath: /app/public
- name: user-data
mountPath: /app/private
- name: app-data
mountPath: /app/.tmp
containers:
- name: planka
image: ghcr.io/plankanban/planka:2.0.0-rc.4