Skip to content

This is a lightweight stack based on Alpine Linux for running Symfony 6 into Docker containers using docker compose.

Notifications You must be signed in to change notification settings

coloso/symfony-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

66 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Symfony 6 Docker-Development-Stack

This is a lightweight stack based on Alpine Linux for running Symfony 6 into Docker containers using docker compose.

Container

name contains port
php php-fpm 8.2, composer 2.4, yarn 1.22, node.js 16.17 9000
nginx nginx 1.23 80
mongo mongoDB 6.0 27017

Installing

run docker and connect to container:

 docker compose up -d
 docker compose exec php sh

install the latest version of Symfony via composer:

# traditional web application: 
composer create-project symfony/website-skeleton .

or

# microservice, console application or API:
composer create-project symfony/skeleton .

Ready up

open localhost in your browser

Reference links

https://github.com/mlocati/docker-php-extension-installer
https://github.com/denji/nginx-tuning

About

This is a lightweight stack based on Alpine Linux for running Symfony 6 into Docker containers using docker compose.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •