Files
Inventory/infra/prod/docker-compose.yml
Matthieu 00f18d1c7d
Some checks failed
Auto Tag Develop / tag (push) Has been cancelled
feat(infra) : add monolog logging and persist logs in prod
Install symfony/monolog-bundle with rotating_file handlers.
Add named volume inventory_logs for prod log persistence.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-09 14:33:42 +02:00

17 lines
405 B
YAML

services:
app:
image: gitea.malio.fr/malio-dev/inventory:${INVENTORY_IMAGE_TAG:-latest}
container_name: inventory-app
env_file: .env
ports:
- "8082:80"
volumes:
- ./storage:/var/www/html/var/storage/documents
- inventory_logs:/var/www/html/var/log
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped
volumes:
inventory_logs: