Hi, I am trying to host a Discord.js bot on Fly. I love how easy it is to get started and launch through just the cli. However, I want to configure the deployment such that there is only a single machine up at a given time so that I don’t get multiple responses to a bot interaction and also make sure that the machine never spins down since it must always be online to listen for events.
Run “fly scale count 1” and update fly.toml:
auto_stop_machines = false
auto_start_machines = true
min_machines_running = 1
Thanks a ton
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.