https://github.com/mtlynch/syncthing-fly.io
Deploy a syncthing instance to fly.io
https://github.com/mtlynch/syncthing-fly.io
Last synced: 13 days ago
JSON representation
Deploy a syncthing instance to fly.io
- Host: GitHub
- URL: https://github.com/mtlynch/syncthing-fly.io
- Owner: mtlynch
- License: mit
- Created: 2023-05-21T16:28:56.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2025-02-16T16:55:56.000Z (8 months ago)
- Last Synced: 2025-10-09T20:32:18.885Z (15 days ago)
- Size: 13.7 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# syncthing-fly.io
[](https://circleci.com/gh/mtlynch/syncthing-fly.io)
[](LICENSE)
## Overview
Syncthing configuration for fly.io.
## Deploy
### Pre-requisites
You'll need:
- A fly.io account (with billing activated)
- The `fly` CLI [already installed](https://fly.io/docs/getting-started/installing-flyctl/) and authenticated on your machine
## Create your app
```bash
# You can change this to any region from https://fly.io/docs/reference/regions/
REGION="ewr"
RANDOM_SUFFIX="$(head /dev/urandom | tr -dc 'a-z0-9' | head -c 6 ; echo '')"
APP_NAME="syncthing-${RANDOM_SUFFIX}"
fly apps create --name "${APP_NAME}"
```
## Create a persistent volume
```bash
VOLUME_NAME="syncthing" # Must match fly.toml.
SIZE_IN_GB=3
fly volumes create "${VOLUME_NAME}" \
--region "${REGION}" \
--size "${SIZE_IN_GB}" \
--yes
```
## Deploy
Finally, it's time to deploy your app.
```bash
fly deploy
```
## Access web UI
Open a fly proxy to 8386:
```bash
fly proxy 8388:8384
```
Open web UI: