/docker-symfony

Primary LanguagePHPMIT LicenseMIT

docker-symfony

This repository contains all the code explained in this YouTube playlist

Scripts

Using Makefile: https://makefiletutorial.com/

Installs composer dependencies

make prepare

Build the containers

make build

Start the containers

make run

Stop the containers

make stop

Restart the containers

make restart

Steps to follow

Init the bash shell into the Backend container

make ssh-be

Update packages

composer update

Install packages

composer install

Optional

Use dry to manage docker: https://github.com/moncho/dry#installation

curl -sSf https://moncho.github.io/dry/dryup.sh | sudo sh
sudo chmod 755 /usr/local/bin/dry

Listen docker containers

dry