https://github.com/kwaa/flytosocial
🪽 An attempt to run a GoToSocial instance at fly.io.
https://github.com/kwaa/flytosocial
fly-io flyio gotosocial litefs
Last synced: about 1 month ago
JSON representation
🪽 An attempt to run a GoToSocial instance at fly.io.
- Host: GitHub
- URL: https://github.com/kwaa/flytosocial
- Owner: kwaa
- License: wtfpl
- Created: 2023-01-06T11:38:10.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-01-06T12:04:40.000Z (over 2 years ago)
- Last Synced: 2025-02-10T10:21:19.418Z (3 months ago)
- Topics: fly-io, flyio, gotosocial, litefs
- Language: Dockerfile
- Homepage:
- Size: 4.88 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# FlyToSocial
An attempt to run a [GoToSocial](https://github.com/superseriousbusiness/gotosocial) instance at [fly.io](https://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](https://github.com/ripienaar/free-for-dev#iaas)## Usage
> Incomplete
```bash
# clone repo
git clone https://github.com/kwaa/flytosocial.git
cd flytosocial# deploy
fly deploy# volumes
fly volumes create flytosocial_vol -r --size 1
fly volumes create flytosocial_vol -r --size 1
fly volumes create flytosocial_vol -r --size 1# scale
fly scale count 3# secrets
fly secrets set GTS_HOST=
fly secrets set GTS_STORAGE_S3_ENDPOINT=
fly secrets set GTS_STORAGE_S3_ACCESS_KEY=
fly secrets set GTS_STORAGE_S3_SECRET_KEY=
fly secrets set GTS_STORAGE_S3_BUCKET=
```## Useful links
- [badboy/gotosocial-fly](https://github.com/badboy/gotosocial-fly)
- [`fly.toml`](fly.toml) is referenced from this repository. thanks!
- [superseriousbusiness/gotosocial/Dockerfile](https://github.com/superseriousbusiness/gotosocial/blob/main/Dockerfile)
- [LiteFS Config Reference](https://fly.io/docs/litefs/config/)
- [Laravel: Global SQLite with LiteFS](https://fly.io/docs/laravel/advanced-guides/global-sqlite-litefs/)