feat: Use Caddy server (#75)

* feat: Use Caddy server

* cs
This commit is contained in:
Kévin Dunglas
2020-10-19 15:30:43 +02:00
committed by GitHub
parent 087d65f032
commit cc03d09fa6
7 changed files with 44 additions and 119 deletions

View File

@@ -11,19 +11,7 @@ services:
environment:
APP_ENV: dev
nginx:
caddy:
volumes:
- ./docker/nginx/conf.d:/etc/nginx/conf.d:ro
- ./docker/caddy/Caddyfile:/etc/caddy/Caddyfile:ro
- ./public:/srv/app/public:ro
# This HTTP/2 proxy is not secure: it should only be used in dev
h2-proxy:
build:
context: .
target: symfony_h2-proxy
depends_on:
- nginx
volumes:
- ./docker/h2-proxy/default.conf:/etc/nginx/conf.d/default.conf:ro
ports:
- "443:443"