项目作者: nerdpress-org

项目描述 :
Docker advanced LAMP setup for symfony3 development :whale:
高级语言: Shell
项目地址: git://github.com/nerdpress-org/docker-sf3.git
创建时间: 2016-04-19T09:12:26Z
项目社区:https://github.com/nerdpress-org/docker-sf3

开源协议:

下载


  1. ██████╗ ██████╗ ██████╗██╗ ██╗███████╗██████╗ ███████╗███████╗██████╗
  2. ██╔══██╗██╔═══██╗██╔════╝██║ ██╔╝██╔════╝██╔══██╗ ██╔════╝██╔════╝╚════██╗
  3. ██║ ██║██║ ██║██║ █████╔╝ █████╗ ██████╔╝█████╗███████╗█████╗ █████╔╝
  4. ██║ ██║██║ ██║██║ ██╔═██╗ ██╔══╝ ██╔══██╗╚════╝╚════██║██╔══╝ ╚═══██╗
  5. ██████╔╝╚██████╔╝╚██████╗██║ ██╗███████╗██║ ██║ ███████║██║ ██████╔╝
  6. ╚═════╝ ╚═════╝ ╚═════╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═════╝

docker-sf3 - advanced LAMP setup for symfony3 development

Travis

permission-hassle free :tm: » More

Installation

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

Usage

  1. cd /path/to/your/symfony-project/docker
  2. ./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:

  1. database_driver: pdo_mysql
  2. database_host: db
  3. database_port: 3306
  4. database_name: sf3
  5. database_user: sf3
  6. 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

  1. host: mailcatcher
  2. port: 1025

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