Skip to content
This repository has been archived by the owner on Feb 16, 2022. It is now read-only.

Latest commit

 

History

History
30 lines (21 loc) · 1.2 KB

README.md

File metadata and controls

30 lines (21 loc) · 1.2 KB

Symfony with docker experimentations

Experimenting with docker and symfony 4. While this is made for testing purposes, it can also be of some use for fellow developpers.

DISCLAIMER: This repository exists with the aim of learning docker & docker-composer by practice. I'm not an expert, nor I'm able to provide extensive support. Keep in mind that it's always better to know how it works before using it as it can contain mistakes 😄.

Using the project

  • start services: make start
  • execute command in php container: docker-compose exec php php bin/console make:entity
  • ssh in php container: make ssh
  • stopping services: make stop
  • cleanning services and volumes: make clean

TODO

  • Changing ports for security
  • Go multistage!
  • Add Makefile

Sources

These sources were used as reference for this work. Thanks a lot to them.