Prepare game updates and single-process PM2 deployment

This commit is contained in:
2026-10-14 19:13:36 +09:00
parent 4f24129e29
commit 22792bc2b4
50 changed files with 1546 additions and 197 deletions
+10 -7
View File
@@ -1,13 +1,16 @@
# Fastify + Socket.IO use one application port.
HOST=0.0.0.0
PORT=3000
HOST=127.0.0.1
PORT=2100
# Existing standalone MongoDB endpoint, verified with a read-only hello command.
# If authentication is required, set credentials/authSource in your private environment.
MONGODB_URI=mongodb://172.16.0.7:27017/?directConnection=true
# Only trust the local reverse proxy. Leave empty for direct connections.
TRUST_PROXY=loopback
LOG_LEVEL=info
# Proposed application database name; the screenshot's "db" is a connection label.
MONGODB_DATABASE=dragon_ball
# Set credentials/authSource for your private MongoDB deployment.
MONGODB_URI=mongodb://127.0.0.1:27017/?directConnection=true
# Use a NEW database to start with empty users and records; no old data is deleted.
MONGODB_DATABASE=dragon_ball_production
# Set a dedicated test endpoint before database integration tests.
# Tests must use a separate, isolated database and never reuse the application database.