Compare commits
2 commits
3683e60497
...
037be04549
Author | SHA1 | Date | |
---|---|---|---|
037be04549 | |||
d02055d85e |
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ services:
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
db:
|
db:
|
||||||
image: postgres:latest
|
image: postgres:15
|
||||||
networks:
|
networks:
|
||||||
- backend
|
- backend
|
||||||
env_file: .env
|
env_file: .env
|
||||||
|
|
|
@ -32,7 +32,7 @@ if [ "$action" = "pandora" ]; then
|
||||||
/srv/pandora/pandora/manage.py init_db
|
/srv/pandora/pandora/manage.py init_db
|
||||||
$update db
|
$update db
|
||||||
echo "Generating static files..."
|
echo "Generating static files..."
|
||||||
chown -R ${user}.${user} /srv/pandora/
|
chown -R ${user}:${user} /srv/pandora/
|
||||||
$update static
|
$update static
|
||||||
touch /srv/pandora/initialized
|
touch /srv/pandora/initialized
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue