Files
OpenFin/deploy/docker-compose.yml
OpenSquared d256b65d30 Initial commit — GeoOptions Intelligence Cockpit v2.0
Stack: FastAPI + React/TypeScript + SQLite + GPT-4o
Features: Radar géopolitique, Marchés, Régime Macro, Journal de Bord MTM,
Rapport IA, Super Contexte (base de raisonnement évolutive), Boucle feedback IA.
Deploy: Docker + docker-compose + nginx pour openfin.open-squared.tech

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-06-16 20:29:59 +02:00

50 lines
1002 B
YAML

services:
backend:
build:
context: ../backend
dockerfile: Dockerfile
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY:-}
volumes:
- db_data:/app/data
restart: unless-stopped
networks:
- internal
healthcheck:
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/api/health')"]
interval: 30s
timeout: 10s
retries: 3
frontend:
build:
context: ../frontend
dockerfile: Dockerfile
restart: unless-stopped
networks:
- internal
nginx:
image: nginx:1.27-alpine
ports:
- "80:80"
- "443:443"
volumes:
- ./nginx/nginx.conf:/etc/nginx/conf.d/default.conf:ro
- ./nginx/certs:/etc/letsencrypt:ro
- ./nginx/certbot-webroot:/var/www/certbot:ro
depends_on:
- backend
- frontend
restart: unless-stopped
networks:
- internal
volumes:
db_data:
networks:
internal:
driver: bridge