fix new installation errors

This commit is contained in:
byte[] 2021-10-08 21:31:54 -04:00
parent 10fc962da6
commit 0487a82db6
2 changed files with 4 additions and 3 deletions

View file

@ -45,7 +45,7 @@ services:
- redis - redis
postgres: postgres:
image: postgres:14.0-alpine image: postgres:13.4-alpine
environment: environment:
- POSTGRES_PASSWORD=postgres - POSTGRES_PASSWORD=postgres
volumes: volumes:

View file

@ -17,8 +17,9 @@ background() {
# Always install assets # Always install assets
( (
cd /srv/philomena/assets cd /srv/philomena/assets
# workaround for #31 npm install
npm install || (chown -R root:root node_modules && npm install) # why is javascript so terrible
chown -R $(id -un):$(id -gn) node_modules
) )
# Always install mix dependencies # Always install mix dependencies