ensl.org/script/entry.sh
Ari Timonen 22fc8cb50b Update to a working version
- Use assets workaround to work around the volume issue with docker
- Add assets to gitignore
- Fix dalli hostname
- Update docker-compose to new paths for volumes
- Fix MariaDB issue with optimization opts
2018-04-25 16:41:22 +00:00

11 lines
265 B
Bash
Executable file

#!/bin/bash
env
cd /var/www
source /var/www/.env
rm -rf /var/www/public/assets
mv /home/web/assets /var/www/public/
chown -R web:web /var/www/public
#bundle exec rake assets:precompile
su -c "cd /var/www && bundle exec puma -C config/puma.rb" -s /bin/bash -l web