feat(deploy): Docker Compose production + script désinstallation

- docker-compose.yml : healthcheck, réseau interne, volumes nommés
- docker-compose.dev.yml : profil développement (logs debug, restart no)
- install/uninstall.sh : arrêt service, suppression binaire + config + unit

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-19 06:25:20 +02:00
parent 10cc6979c9
commit b9e3188cb4
3 changed files with 60 additions and 1 deletions
+16
View File
@@ -0,0 +1,16 @@
# Profil développement — remplace docker-compose.yml
# Usage : docker compose -f docker-compose.dev.yml up
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile
ports:
- "8080:8080"
volumes:
- ./data:/data
environment:
DATABASE_URL: sqlite:///data/sentinelmesh.sqlite
LISTEN_ADDR: 0.0.0.0:8080
RUST_LOG: debug
restart: "no"