Starter point how to run (actually just a POC) for Caddy, php-fpm and Symfony
with docker compose
Requirements ᐞ
Installation ᐞ
This installation guide expects that you're using Docker Engine.
1. Clone repository ᐞ
Use your favorite IDE and get checkout from GitHub or just use following command
git clone https://github.com/tarlepp/caddy-php-symfony
2. Start containers ᐞ
docker compose up
Note that if you're using Linux, you most likely need to use following command
sudo docker compose up
Didn't make work to necessary work to get file permissions correctly - yet.
3. Using application ᐞ
Your site should be available in following url:
https://localhost/
Note that you might need to trust that certificate, didn't study that part of caddy so much - this is just POC.
Authors ᐞ
License ᐞ
Copyright © 2024 Tarmo Leppänen