Skip to content

Latest commit

 

History

History
27 lines (17 loc) · 691 Bytes

README.md

File metadata and controls

27 lines (17 loc) · 691 Bytes

Symfony 6 & garden.io.

This demonstrates a Symfony app running on garden.io.

If you dont have a local kubernetes cluster installed, download and install Docker Desktop first.

Setup

Start by creating a namespace for your project and secrets to live in.

kubectl create namespace symfony-garden

Next define a secret called postgres-password which will contain your database password.

kubectl --namespace=symfony-garden create secret generic postgres-password --from-literal=root=superdupersecret

Now run the deploy command.

garden deploy --dev

Finnaly be sure to add 127.0.0.1 symfony.local to your /etc/hosts file.