https://github.com/addono/mealie-server
Fly.io deployment configuration for Mealie recipe manager
https://github.com/addono/mealie-server
fly flyio mealie recipe-manager self-hosted
Last synced: 7 months ago
JSON representation
Fly.io deployment configuration for Mealie recipe manager
- Host: GitHub
- URL: https://github.com/addono/mealie-server
- Owner: Addono
- Created: 2025-02-09T17:18:56.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2025-03-01T13:57:31.000Z (7 months ago)
- Last Synced: 2025-03-01T14:25:37.090Z (7 months ago)
- Topics: fly, flyio, mealie, recipe-manager, self-hosted
- Language: Dockerfile
- Homepage: https://recipes.aknapen.nl
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Mealie Server on Fly.io
This repository contains the configuration for running a [Mealie](https://hay-kot.github.io/mealie/) recipe manager instance on Fly.io.
## Deployment
Here are some brief instructions on how to deploy your own instance:
1. Install the [Fly.io CLI](https://fly.io/docs/hands-on/install-flyctl/)
2. Fork and clone this repository
3. (Optional) Set up your SMTP password:
```bash
fly secrets set SMTP_PASSWORD="your-password-here"
```
4. Deploy the application:
```bash
fly deploy
```Afterwards, dive into [`fly.toml`](fly.toml) to customize the configuration to your liking.
## Configuration
The server is configured with:
- Auto-scaling enabled (0-1 instances)
- 512MB RAM
- 1 shared CPU
- TLS encryption
- MailerSend SMTP for email notifications
- European timezone (Berlin)
- Signup disabled
- Base URL: https://recipes.aknapen.nl## Storage
The application uses a persistent volume mount for data storage:
- Mount point: `/app/data`
- Auto-extends when 80% full
- Increases in 1GB increments
- Maximum size: 3GB## CI/CD
The application automatically deploys to Fly.io when changes are pushed to the main branch. To set this up:
1. Create a Fly.io API token
```bash
fly tokens create deploy --name "GitHub Actions - deploy"
```
2. Add the token as a GitHub secret named `FLY_API_TOKEN`
```bash
gh secret set FLY_API_TOKEN
```> 💡 **Tip:** You can combine the token creation and secret setting in one command:
> ```bash
> gh secret set FLY_API_TOKEN -b $(fly tokens create deploy --name "GitHub Actions - deploy")
> ```