Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add support for souin #2383

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 2 additions & 0 deletions api/.env
Expand Up @@ -17,6 +17,8 @@
# API Platform distribution
TRUSTED_PROXIES=127.0.0.1
TRUSTED_HOSTS=^localhost$
# The api url that is called to invalidate cached resources
SOUIN_API_URL=http://caddy/souin-api/souin

###> symfony/framework-bundle ###
APP_ENV=dev
Expand Down
3 changes: 2 additions & 1 deletion api/Dockerfile
Expand Up @@ -98,7 +98,8 @@ FROM caddy:2-builder-alpine AS app_caddy_builder

RUN xcaddy build \
--with github.com/dunglas/mercure/caddy \
--with github.com/dunglas/vulcain/caddy
--with github.com/dunglas/vulcain/caddy \
--with github.com/caddyserver/cache-handler

# Caddy image
FROM caddy:2-alpine AS app_caddy
Expand Down