Skip to content

Migrate signalling server away from Heroku free tier #2

Description

@ErnWong

Consider either upgrade or move to another PaaS.
Going to move to railway.

Plan:

  • Deploy signalling server instance Railway
  • Update code to point to new signalling server instance
  • Shutdown Heroku signalling server instance.

Places to update in the code:

  • The RustConfig file (used by Heroku to know which crate we want to build)
    RUST_CARGO_BUILD_FLAGS="--release --package signalling-server"
  • Heroku endpoint URL hardcoded to the client now needs to be updated to the Railway endpoint
    let endpoint_url = format!("http://dango-daikazoku.herokuapp.com/join/{}", host_id);
  • Heroku endpoint URL hardcoded to the server also needs to be updated to the Railway endpoint
    let endpoint_url = "ws://dango-daikazoku.herokuapp.com/host".to_string();

To check:

  • Cross origin policies
  • SSL

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions