mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-02-24 13:57:01 +08:00
Merge pull request #2502 from nextcloud/enh/noid/add-second-init-step
add a second init step for postgres
This commit is contained in:
commit
ff624fbfad
1 changed files with 6 additions and 2 deletions
|
@ -56,12 +56,16 @@ cat << EOL > /tmp/initcontainers
|
|||
EOL
|
||||
cat << EOL > /tmp/initcontainers.database
|
||||
initContainers:
|
||||
- name: init-volumes
|
||||
- init-subpath
|
||||
image: alpine
|
||||
command:
|
||||
- mkdir
|
||||
- "-p"
|
||||
- /nextcloud-aio-database/data;
|
||||
- /nextcloud-aio-database/data
|
||||
volumeMountsInitContainer:
|
||||
- name: init-volumes
|
||||
image: alpine
|
||||
command:
|
||||
- chown
|
||||
- 999:999
|
||||
- "-R"
|
||||
|
|
Loading…
Reference in a new issue