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:
@@ -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"
|
||||
Reference in New Issue
Block a user