██████╗ ██████╗ ██████╗██╗ ██╗███████╗██████╗ ███████╗███████╗██████╗
██╔══██╗██╔═══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗ ██╔════╝██╔════╝╚════██╗
██║ ██║██║ ██║██║ █████╔╝ █████╗ ██████╔╝█████╗███████╗█████╗ █████╔╝
██║ ██║██║ ██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗╚════╝╚════██║██╔══╝ ╚═══██╗
██████╔╝╚██████╔╝╚██████╗██║ ██╗███████╗██║ ██║ ███████║██║ ██████╔╝
╚═════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═════╝
permission-hassle free ™️ » More
git clone https://github.com/nerdpress-org/docker-sf3.git docker-sf3
cp -r docker-sf3/docker /path/to/your/symfony-project/
This software compilation is ment for local development purpose only.
cd /path/to/your/symfony-project/docker
./docker.sh -l
This will build and start all containers and log you into the symfony container as www-data.
» More startup options
Open the browser: http://[docker-host]:8080
from the Ondřej Surý PPA running on Ubuntu:Xenial Docker Image.
Xdebug and Blackfire.io support are included by default.
» How to configure
oh-my-zsh is the default shell.
The Dockerfile can be found here: (/docker/sf_web Docker
Official MySQL:5 Docker is used.
Use the name of the service as the database host in your connection settings:
database_driver: pdo_mysql
database_host: db
database_port: 3306
database_name: sf3
database_user: sf3
database_password: sf3
Its configured to be open for access from outside,
so if you prefer to use MySql Workbench on the host, use the containers IP as host.
Find the IP with:
docker inspect --format '{{ .NetworkSettings.IPAddress }} {{ .Name }}' $(docker ps -q)
Otherwise use official phpmyadmin docker on http://[docker-host]:8081
- Locale is en_US.UTF-8
- Timezone is set to Europe/Berlin
- Make docker_sf3 directly installable into a Symfony project.
- Add more tests for the additional services.
- Dynamically add php version to sf_web env.
- Dynamically populate db credentials for sf3 via environment.
- Set up names to enable service discovery.
- Set up automated certificate creation and clarify to make it persist.
- Create an image (e.g. on quay.io) to speed up installation.
- Set up continous image builds. (e.g. on cve or othe source images changes)
host: mailcatcher
port: 1025
Webinterface on http://[yourhost*]:1080