Phase 0 foundation: - Docker Compose with PostgreSQL, Redis, Hardhat node - RPSArena.sol commit-reveal smart contract with tests - Node.js + Socket.io server with matchmaking and match state machine - Next.js + Phaser 3 frontend with Boot, Lobby, Arena, Result scenes - Nginx Proxy Manager integration planned for jeu.cosmolan.fr Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
21 lines
399 B
YAML
21 lines
399 B
YAML
version: "3.9"
|
|
|
|
# Overrides pour la production sur le VPS
|
|
# Usage : docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d
|
|
|
|
services:
|
|
rps-server:
|
|
environment:
|
|
NODE_ENV: production
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|
|
|
|
rps-web:
|
|
environment:
|
|
NODE_ENV: production
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 512M
|