diff --git a/docker-compose.yml b/docker-compose.yml index ade526cb..532a1fda 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -27,7 +27,7 @@ services: restart: unless-stopped db: - image: postgres:latest + image: postgres:15 networks: - backend env_file: .env diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 36ef5b4a..0dab26ea 100755 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -32,7 +32,7 @@ if [ "$action" = "pandora" ]; then /srv/pandora/pandora/manage.py init_db $update db echo "Generating static files..." - chown -R ${user}.${user} /srv/pandora/ + chown -R ${user}:${user} /srv/pandora/ $update static touch /srv/pandora/initialized fi