Public Repository

Last pushed: a year ago
Short Description
Minimum configuration for Symfony 2 and 3
Full Description

Symfony 2 and 3 minimum configuration and recommended

What is inside

From php:5.6-apache

  • git
  • curl
  • composer
  • PHP extension
    intl zip

How to use

docker-compose.yml example:

version: '2'
services:
  db:
    image: mysql:5.7
    volumes:
      - "./.data/db:/var/lib/mysql"
    restart: always
    environment:
      MYSQL_ROOT_PASSWORD: root
      MYSQL_DATABASE: website
      MYSQL_USER: root
      MYSQL_PASSWORD: root

  symfony:
    image: altimacn/symfony2
    links:
      - db
    ports:
      - "80:80"
    volumes:
      - "./public_html:/var/www/html"

Create Symfony project example:

docker exec -it container_web symfony new .

Run composer example:

docker exec -it container_web composer update
Docker Pull Command
Owner
altimacn

Comments (0)