Use Persistent Volume for Apache Logs because of Quadlet passthrough Logging
This commit is contained in:
parent
bea523a733
commit
97e45199ff
|
|
@ -5,6 +5,7 @@ metadata:
|
|||
bind-mount-options:/data/wordpresscmoag/wp: z
|
||||
bind-mount-options:/home/containers/onyx_pods/wordpresscmoag/uploads.ini: z
|
||||
bind-mount-options:/data/wordpresscmoag/db: z
|
||||
bind-mount-options:/data/wordpresscmoag/logs: z
|
||||
io.kubernetes.cri-o.TTY/wordpresscmoag: "false"
|
||||
io.podman.annotations.autoremove/wordpresscmoag: "FALSE"
|
||||
io.podman.annotations.init/wordpresscmoag: "FALSE"
|
||||
|
|
@ -65,6 +66,8 @@ spec:
|
|||
name: data-wordpresscmoag-wp-0
|
||||
- mountPath: /usr/local/etc/php/conf.d/uploads.ini
|
||||
name: data-wordpresscmoag-wp-1
|
||||
- mountPath: /var/log/apache2
|
||||
name: data-wordpresscmoag-logs-0
|
||||
restartPolicy: Never
|
||||
volumes:
|
||||
- hostPath:
|
||||
|
|
@ -79,3 +82,7 @@ spec:
|
|||
path: /data/wordpresscmoag/db
|
||||
type: Directory
|
||||
name: data-wordpresscmoag-dp-0
|
||||
- hostPath:
|
||||
path: /data/wordpresscmoag/logs
|
||||
type: Directory
|
||||
name: data-wordpresscmoag-logs-0
|
||||
|
|
|
|||
Loading…
Reference in New Issue