This commit is contained in:
2026-03-28 16:43:22 +00:00
parent 502252aabe
commit 757b4bf078

View File

@@ -28,6 +28,23 @@ spec:
labels:
app: phpbb
spec:
initContainers:
- name: init-permissions
image: busybox:1.36
command:
- sh
- -ec
- |
mkdir -p /data/files
mkdir -p /data/store
mkdir -p /data/avatars-upload
chmod 0777 /data/files /data/store /data/avatars-upload
securityContext:
runAsUser: 0
runAsGroup: 0
volumeMounts:
- name: data
mountPath: /data
containers:
- name: phpbb
image: selim13/phpbb:3.3