feat: add docker support

This commit is contained in:
Maël Gangloff
2024-08-11 15:43:30 +02:00
parent c145a23a63
commit 97d3db3f56
16 changed files with 349 additions and 516 deletions

10
compose.prod.yaml Normal file
View File

@@ -0,0 +1,10 @@
# Production environment override
services:
php:
build:
context: .
target: frankenphp_prod
environment:
APP_SECRET: ${APP_SECRET}
MERCURE_PUBLISHER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET}
MERCURE_SUBSCRIBER_JWT_KEY: ${CADDY_MERCURE_JWT_SECRET}