services: fix outline pg ssl and planka init
This commit is contained in:
parent
d673493f89
commit
6376beebb1
@ -46,6 +46,8 @@ spec:
|
|||||||
value: "3000"
|
value: "3000"
|
||||||
- name: REDIS_URL
|
- name: REDIS_URL
|
||||||
value: redis://outline-redis:6379
|
value: redis://outline-redis:6379
|
||||||
|
- name: PGSSLMODE
|
||||||
|
value: disable
|
||||||
- name: FILE_STORAGE
|
- name: FILE_STORAGE
|
||||||
value: s3
|
value: s3
|
||||||
- name: AWS_REGION
|
- name: AWS_REGION
|
||||||
|
|||||||
@ -36,6 +36,27 @@ spec:
|
|||||||
runAsGroup: 1000
|
runAsGroup: 1000
|
||||||
fsGroup: 1000
|
fsGroup: 1000
|
||||||
fsGroupChangePolicy: OnRootMismatch
|
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:
|
containers:
|
||||||
- name: planka
|
- name: planka
|
||||||
image: ghcr.io/plankanban/planka:2.0.0-rc.4
|
image: ghcr.io/plankanban/planka:2.0.0-rc.4
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user