add config file to init container
This commit is contained in:
parent
69e2a3eb0e
commit
3b3f862a9c
2 changed files with 9 additions and 1 deletions
|
|
@ -1,6 +1,6 @@
|
|||
#!/bin/sh
|
||||
set -e
|
||||
env
|
||||
|
||||
while ! pg_isready -U ${DB_USER} -d postgres://${DB_HOST}:${DB_PORT}/${DB_NAME} -t 1; do sleep 1s; done;
|
||||
|
||||
mkdir -p ${DATA}/uploads && mkdir -p ${DATA}/static && cp -rf /static-files/* ${DATA}/static && chown -R 1000:1000 ${DATA}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue