Compare commits

...

2 commits

Author SHA1 Message Date
j
037be04549 use postgres 15 2024-01-07 19:15:27 +01:00
j
d02055d85e chown : 2024-01-07 17:21:16 +01:00
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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