Simple todo list app written using Symfony framework in a Docker container based on Symfony Docker repository. This repository was created as a showcase for my coding standards and best practices.
- If not already done, install Docker Compose (v2.10+).
- Run
make initor use the plain commands in Makefile if you don't have Make support. - Open
https://localhostin your favorite web browser and accept the auto-generated TLS certificate. - (Optional) You can disable the security message by using one of the commands from the next section.
With a standard installation, the authority used to sign certificates generated in the Caddy container is not trusted by your local machine. You must add the authority to the trust store of the host:
docker cp $(docker compose ps -q caddy):/data/caddy/pki/authorities/local/root.crt /tmp/root.crt && sudo security add-trusted-cert -d -r trustRoot -k /Library/Keychains/System.keychain /tmp/root.crt
docker cp $(docker compose ps -q caddy):/data/caddy/pki/authorities/local/root.crt /usr/local/share/ca-certificates/root.crt && sudo update-ca-certificates
docker compose cp caddy:/data/caddy/pki/authorities/local/root.crt %TEMP%/root.crt && certutil -addstore -f "ROOT" %TEMP%/root.crt