Skip to content

Mugen0815/symfony7

Repository files navigation

Docker-Symfony

Source code

Dockerhub

build image

Docker Image Version (latest by date)
Docker Image Size (latest by date)
Docker Pulls

Minimalistic Docker environment for Symfony 7(https://symfony.com/) based on official php-apache-image (https://hub.docker.com/_/php/tags?name=apache) including:

  • Composer
  • Symfony-CLI
  • Symfony 7 Webapp

with optional components via docker-compose:

  • MariaDB

Requirements

  • Linux or WSL2
  • Docker version 18.06 or later
  • (optional) Traefik 2

Components

  • Apache 2.4
  • PHP 8.2
  • Composer 2.6
  • Symfony-CLI
  • Symfony 7 Webapp
  • (optional) MariaDB 10.6

What it does

On startup, creates a symfony 7.0 webapp (configurabale via env-var) using symfony-cli or calls 'composer install' if app already exists and vendor-folder is missing (for existing projects from git)

Setting up LOCAL environment

  1. git clone git@github.com:Mugen0815/symfony7.git
  2. cd symfony7
  3. docker compose up -d
  4. Go to http://localhost:8080

Building the image only

  1. git clone git@github.com:Mugen0815/symfony7.git
  2. cd symfony7
  3. docker build . --no-cache

About

Minimalistic docker environment for symfony

Topics

Resources

License

Stars

Watchers

Forks