Download the Docker Image at https://hub.docker.com/r/gusdecool/symfony
Check the file docker-compose.yml for example how to init this repo
Save the file and run docker-compose up -d
. Once the command run successfully, open the specified ports in yml file.
- Have a copy of symfony codebase in
/symfony
directory. We can install it with commandcomposer create-project symfony/website-skeleton symfony
. Note install the full symfony to check the functionality - The container is expecting the symfony root directory will be synced to
/app
in docker container.
Use Docker Compose to make it easier to manage the containers.
run docker-compose up -d
to run the containers
docker-compose build
ssl-certificate
directory contains the dummy root certificate.
The password key is 123456
. Use tutorial from https://github.com/gusdecool/local-cert-generator
to generate new certificate if needed or expired.