Something went wrong. Try again.
A Social Deduction / Deception Game
Something went wrong. Try again.
deception.network fly.toml
1234567891011121314151617181920212223242526272829303132333435363738# fly.io config — served at https://deception.town## Single process, single machine: game rooms (rooms.ts registry) and WebSocket# subscribers live in memory, so every player must land on the same machine.# Keep this at exactly one machine — deploy with `fly deploy --ha=false` the# first time and never scale count above 1.app = "deception-town"primary_region = "iad"
[env] NODE_ENV = "production" # The public https origin. Baked into the OAuth client_id (client-metadata.json) # and the signed-cookie Secure flag; must match the domain players actually hit. APP_URL = "https://deception.town" PORT = "8080" # Deception isn't open yet: the case opens the "leave your card" play-test interest page # (writes town.deception.interest) instead of the map chooser. See config.ts / PlaytestInterest.tsx. SABOTAGE_PLAYTEST = "1"
# OAuth sessions + the sid cookie secret (.data/store.db, cookie-secret) persist# here across deploys, so logins survive a restart. COOKIE_SECRET is set as a fly# secret (not here) so it's stable regardless of the volume.[mounts] source = "data" destination = "/app/.data"
[http_service] internal_port = 8080 force_https = true # Never stop the machine: WebSocket subscribers and in-memory rooms live here. auto_stop_machines = "off" auto_start_machines = true min_machines_running = 1
[[vm]] size = "shared-cpu-1x" memory = "512mb"