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,12 @@
services:
app:
image: gitea.malio.fr/malio-dev/inventory:${INVENTORY_IMAGE_TAG:-latest}
container_name: inventory-app
env_file: .env
ports:
- "8082:80"
volumes:
- ./uploads:/var/www/html/var/uploads
extra_hosts:
- "host.docker.internal:host-gateway"
restart: unless-stopped