A simple Dockerized Symfony project generation tool. It comes with a Symfony boilerplate project (https://github.com/Deveosys/symfony-react-bootstrap), but the setup lets you choose to use your own existing Symfony project or even to create a new one.
$ git clone [email protected]:Deveosys/docker-symfony.git
With yarn
$ yarn
$ yarn setup
With npm
$ npm install
$ npm run setup
I recommand using symfony server for development. In app/ directory :
$ symfony server:start
$ yarn dev-server
If you want to test the docker setup on localhost :
- Add ports binding on
docker-compose.yml
file under nginx donfiguration:
my_app_nginx:
...
ports:
- 8080:80
- Then build container
$ docker-compose up --build
$ docker-compose up --build -d