Skip to content

sangdth/mastodon-railway-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

English | 日本語

mastodon-railway-template

A template for deploying Mastodon on Railway.

Usage

1. Click on "Deploy on Railway"

Deploy on Railway

2. Click "Configure" for each service and set the environment variables

You must click "Save Config" for all settings. Below are the instructions for configuring each service.

Mastodon-Streaming

No need to edit as it syncs with Mastodon's environment variables.

Mastodon

Variable Name Description Default
OWNER_USERNAME Specify the username for the admin account to be created at startup.
OWNER_EMAIL Specify the email address for the admin account to be created at startup. It won't be used until the mail server is set up.
LOCAL_DOMAIN Set the domain to be used in Mastodon. Specify either a custom domain or a free domain available from Railway {any string}.up.railway.app. Automatically generated domain

No other settings need to be edited.

For more details on each setting, refer to the official documentation.

3. Click "Deploy" after completing the settings

You can deploy when everything is marked as "Ready to be deployed" as shown in the image below.

4. A few minutes later, click on the "Mastodon" service and access the URL

The URL can be found under "Deployments" as shown below.

That's it!

5. Sign in to the Owner Account

You can search for the service's execution logs in "Observability" at the top of the project screen.

By searching for "New Password", you can find the password for the Owner account created at the start of Mastodon.

You can use this password and email address to log in to the admin account from the login screen.

⚠️⚠️Caution⚠️⚠️

  • Uploaded images are saved on a mounted volume with a capacity of 5GB. It is advisable to set up S3 or similar from the start if needed.
  • Railway charges based on usage, so please avoid increasing follows excessively. You can also set usage limits in the settings.

About

An unofficial Mastodon template for Railway

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%