Public | Automated Build

Last pushed: 3 years ago
Short Description
Short description is empty for this repo.
Full Description

Use Symfony with Docker

An easy way to launch a Symfony application with Docker

Web server

docker run -d \
  -v `pwd`:/srv \
  -p 80:80 \
  --name project_name \

Open the website

xdg-open "http://`docker inspect --format="{{.NetworkSettings.IPAddress}}" project_name`"
# You can replace xdg-open with firefox or something else

Symfony console

docker exec -ti project_name app/console
Docker Pull Command
Source Repository