Step 1) Run this in the root folder of this project:
docker run --rm --interactive --tty \
--volume $PWD:/app \
--user $(id -u):$(id -g) \
composer update --ignore-platform-reqs --no-scripts
Step 2)
Copy the file sample.env
to another file called .env
Step 3)
Edit .env
file to suit your project
Step 4) Run:
docker-compose up --build -d
Step 5) There is no step 5. This is just a skeleton.
also, visit: http://localhost:8091 for PHPMyAdmin DB tool
To remove running containers: Run:
docker-compose down
To re-run without building:
docker-compose up -d