Dockerfile, based on the README installation steps

This commit is contained in:
Robin Whittleton 2021-02-01 21:23:58 +01:00 committed by Alex Cabal
parent 8f30ee2530
commit 0ffcb889e9
3 changed files with 51 additions and 0 deletions

10
scripts/docker/start-server.sh Executable file
View file

@ -0,0 +1,10 @@
#!/bin/sh
ln -s /standardebooks.org/web/config/apache/standardebooks.test.conf /etc/apache2/sites-available/
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.org.ini /etc/php/*/cli/conf.d/
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.org.ini /etc/php/*/fpm/conf.d/
ln -s /standardebooks.org/web/config/php/fpm/standardebooks.test.conf /etc/php/*/fpm/pool.d/
a2ensite standardebooks.test
/etc/init.d/apache2 start
service php7.4-fpm restart
tail -f /var/log/apache2/error.log