Skip to content

iambrennanwalsh/symfony-garden.io

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.