This is the skeleton of the project which may be used with docker, travis and kubernetes.
php-fpm: Use php7 with fpm and has also installed amqp, pdo etc.
nginx: Use latest version of nginx
-
Remember to copy .env.dist file to .env file
cp .env.dist .env
-
Edit var NGINX_HOST - default settings:
NGINX_HOST=backend_template.local
-
Add host to your /etc/hosts
sudo bash -c "echo 127.0.0.1 backend_template.local >> /etc/hosts"
-
Run docker-compose
docker-compose up
-
Run in your browser