/caddy-php-symfony

Primary LanguagePHPMIT LicenseMIT

What is this?

Starter point how to run (actually just a POC) for Caddy, php-fpm and Symfony with docker compose

Table of Contents

Requirements

Docker Engige

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

The MIT License (MIT)

Copyright © 2024 Tarmo Leppänen