mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-19 22:16:49 +00:00
add a second init step for postgres
Signed-off-by: Simon L <szaimen@e.mail.de>
This commit is contained in:
parent
844382d220
commit
93748f9644
1 changed files with 6 additions and 2 deletions
|
|
@ -56,12 +56,16 @@ cat << EOL > /tmp/initcontainers
|
||||||
EOL
|
EOL
|
||||||
cat << EOL > /tmp/initcontainers.database
|
cat << EOL > /tmp/initcontainers.database
|
||||||
initContainers:
|
initContainers:
|
||||||
- name: init-volumes
|
- init-subpath
|
||||||
image: alpine
|
image: alpine
|
||||||
command:
|
command:
|
||||||
- mkdir
|
- mkdir
|
||||||
- "-p"
|
- "-p"
|
||||||
- /nextcloud-aio-database/data;
|
- /nextcloud-aio-database/data
|
||||||
|
volumeMountsInitContainer:
|
||||||
|
- name: init-volumes
|
||||||
|
image: alpine
|
||||||
|
command:
|
||||||
- chown
|
- chown
|
||||||
- 999:999
|
- 999:999
|
||||||
- "-R"
|
- "-R"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue