This project supports three development modes:
42 PCs (ports 8443/8080):
makePrivileged ports for VMs/Private Machines (ports 443/80):
make ports=privileged upThis will automatically:
- Generate SSL certificates
- Build all containers
- Start all services (NGINX, frontend, backend_database, backend_gamelogic, live-chat)
Access:
- 42 PCs: https://localhost:8443
- Production: https://localhost (port 443)
- Open a service folder in VS Code (e.g.,
backend_database/orlive-chat/) - Click "Reopen in Container" when prompted
- Run
npm run devinside the container
Environment: Automatically loads .env.development with localhost defaults
cd backend_database # or live-chat, backend_gamelogic
npm install
npm run devEnvironment:
- Uses
.env.developmentdefaults (localhost URLs, local DB paths) - Override with
.env.localif needed (gitignored)
Want centralized log management with powerful search and visualization?
# Start application with ELK stack (any of these work)
make elk=true # Full setup with ELK
make elk=true up # Start with ELK
make elk-up # Shortcut
# Configure Elasticsearch (first time only)
make elk-setup
# Access Kibana for log visualization
open http://localhost:5601Features:
- Real-time log aggregation from all services
- Full-text search and filtering
- Pre-configured dashboards
- 90-day log retention
- Distributed tracing with request IDs
💡 Pro Tip: Add elk=true to any make command to include ELK stack:
make elk=true dev- Development mode with ELKmake elk=true restart- Restart with ELK
See the complete guide: elk/README.md
.env- Created from.env.example, used by Docker Compose (production mode).env.development- Tracked in git, defaults for local/devcontainer modes.env.local- Optional, gitignored, for personal overrides
make help