Initial commit - SOGOMS v1.0.0
- sogoctl: supervisor avec health checks et restart auto - sogoway: gateway HTTP, auth JWT, routing par hostname - sogoms-db: microservice MariaDB avec pool par application - Protocol IPC Unix socket JSON length-prefixed - Config YAML multi-application (prokov) - Deploy script pour container Alpine gw3 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
29
config/sogoctl.yaml
Normal file
29
config/sogoctl.yaml
Normal file
@@ -0,0 +1,29 @@
|
||||
# Configuration du superviseur sogoctl
|
||||
|
||||
supervisor:
|
||||
health_interval: 10s
|
||||
restart_delay: 2s
|
||||
max_restarts: 5
|
||||
|
||||
services:
|
||||
sogoms-db:
|
||||
binary: /opt/sogoms/bin/sogoms-db
|
||||
args:
|
||||
- "-config"
|
||||
- "/config"
|
||||
- "-socket"
|
||||
- "/run/sogoms-db.1.sock"
|
||||
health_socket: /run/sogoms-db.1.sock
|
||||
|
||||
sogoway:
|
||||
binary: /opt/sogoms/bin/sogoway
|
||||
args:
|
||||
- "-config"
|
||||
- "/config"
|
||||
- "-port"
|
||||
- "8080"
|
||||
- "-db-socket"
|
||||
- "/run/sogoms-db.1.sock"
|
||||
health_url: http://localhost:8080/health
|
||||
depends_on:
|
||||
- sogoms-db
|
||||
Reference in New Issue
Block a user