Skip to content

kwaa/flytosocial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FlyToSocial

An attempt to run a GoToSocial instance at fly.io.

Testing has been held off due to concerns about surprise bills.

Please let me know if there are running problems!

Caution

  • fly.io requires a credit card or a minimum of US$25 credit limit.
  • FlyToSocial (this repo) expects to use up the free credit completely, but you can adjust it yourself
  • I have modified the configuration for personal instance, again you can adjust it yourself
  • Object storage is required for storing media files. I recommend looking at ripienaar/free-for-dev#IaaS

Usage

Incomplete

# clone repo
git clone https://github.com/kwaa/flytosocial.git
cd flytosocial

# deploy
fly deploy

# volumes
fly volumes create flytosocial_vol -r <region-1> --size 1
fly volumes create flytosocial_vol -r <region-2> --size 1
fly volumes create flytosocial_vol -r <region-3> --size 1

# scale
fly scale count 3

# secrets
fly secrets set GTS_HOST=<your-domain>
fly secrets set GTS_STORAGE_S3_ENDPOINT=<your-s3-endpoint>
fly secrets set GTS_STORAGE_S3_ACCESS_KEY=<your-s3-username>
fly secrets set GTS_STORAGE_S3_SECRET_KEY=<your-s3-password>
fly secrets set GTS_STORAGE_S3_BUCKET=<your-s3-bucket>

Useful links

About

🪽 An attempt to run a GoToSocial instance at fly.io.

Topics

Resources

License

Stars

Watchers

Forks