Skip to content

Docker support #54

@dunglas

Description

@dunglas

Hi,

I've created an alternative Symfony skeleton with Docker support: https://github.com/dunglas/symfony-docker-skeleton
It's basically the API Platform Docker setup tuned to support Flex.

It works, but some minimal modifications can be done to some recipes to ease the install (expect some PRs soon).

Main differences with the standard skeleton are:

  • It doesn't use the Dotenv component (Docker has a builtin support of .env files)
  • In dev mode, the front controller can be accessed from the host

It's probably possible to go one step further and to automatically add required services with a Configurator (e.g: add a Redis image to docker-compose.yml when installing predis/predis).

Is it something you may include into Flex?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions