feat : add Docker production deployment
Some checks failed
Build & Push Docker Image / build (push) Failing after 8s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Matthieu
2026-04-01 12:08:32 +02:00
parent 476060cf7d
commit 9c8aecec93
10 changed files with 565 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
# Symfony
APP_ENV=prod
APP_DEBUG=0
APP_SECRET=change-me
# Database (use host.docker.internal to reach bare-metal PostgreSQL)
DATABASE_URL="postgresql://inventory_user:password@host.docker.internal:5432/inventory_prod?serverVersion=16&charset=utf8"
# CORS
CORS_ALLOW_ORIGIN='^https?://inventory\.malio-dev\.fr$'