Skip to content

nerdpress-org/docker-sf3

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

██████╗  ██████╗  ██████╗██╗  ██╗███████╗██████╗       ███████╗███████╗██████╗ 
██╔══██╗██╔═══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗      ██╔════╝██╔════╝╚════██╗
██║  ██║██║   ██║██║     █████╔╝ █████╗  ██████╔╝█████╗███████╗█████╗   █████╔╝
██║  ██║██║   ██║██║     ██╔═██╗ ██╔══╝  ██╔══██╗╚════╝╚════██║██╔══╝   ╚═══██╗
██████╔╝╚██████╔╝╚██████╗██║  ██╗███████╗██║  ██║      ███████║██║     ██████╔╝
╚═════╝  ╚═════╝  ╚═════╝╚═╝  ╚═╝╚══════╝╚═╝  ╚═╝      ╚══════╝╚═╝     ╚═════╝ 
                                                                               

docker-sf3 - advanced LAMP setup for symfony3 development

Travis

permission-hassle free ™️ » More

Installation

git clone https://github.com/nerdpress-org/docker-sf3.git docker-sf3
cp -r docker-sf3/docker /path/to/your/symfony-project/

Usage

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

console

Open the browser: http://[docker-host]:8080

toolbar

PHP

PHP7 is used.

Xdebug (only Linux and dlite for Mac) and Blackfire.io support are included by default.
» How to configure

DB

MySql 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 phpmyadmin on http://[docker-host]:8081

Mailcatcher SMTP

host: mailcatcher
port: 1025

Webinterface on http://[yourhost*]:1080

Releases

No releases published

Packages

No packages published

Languages