Deploying Tamari
Introduction
Tamari is a beautiful, self-hosted recipe manager designed to store, organize, and share your favorite recipes. With a modern interface and powerful features, Tamari makes cooking more enjoyable and organized.
Key highlights of Tamari:
- Modern Interface: Clean, responsive design for all devices
- Recipe Import: Import recipes from URLs with automatic parsing
- Categories and Tags: Organize recipes by cuisine, type, or custom tags
- Meal Planning: Plan your meals for the week
- Shopping Lists: Generate shopping lists from recipes
- Recipe Scaling: Adjust serving sizes automatically
- Nutritional Info: Track nutritional information
- Multi-User: Share recipes with family members
- Offline Support: Access recipes without internet
- Print Friendly: Print recipes in a clean format
This guide walks through deploying Tamari on Klutch.sh using Docker.
Why Deploy Tamari on Klutch.sh
Deploying Tamari on Klutch.sh provides several advantages:
Simplified Deployment: Klutch.sh automatically detects your Dockerfile and builds Tamari without complex orchestration.
Persistent Storage: Attach persistent volumes for recipes and images.
HTTPS by Default: Secure access to your recipes from anywhere.
GitHub Integration: Connect your configuration repository for automatic redeployments.
Prerequisites
Before deploying Tamari on Klutch.sh, ensure you have:
- A Klutch.sh account
- A GitHub account with a repository for your Tamari configuration
- Basic familiarity with Docker and containerization concepts
Deploying Tamari on Klutch.sh
- Select HTTP as the traffic type
- Set the internal port to 5000
Create Your Repository
Create a new GitHub repository with a Dockerfile for Tamari:
FROM alexbates/tamari:latest
ENV PUID=1000ENV PGID=1000ENV SECRET_KEY=${SECRET_KEY}
EXPOSE 5000
VOLUME ["/app/data"]Push to GitHub
Initialize and push your repository to GitHub with your Dockerfile.
Create a New Project on Klutch.sh
Navigate to the Klutch.sh dashboard and create a new project.
Create a New App
Within your project, create a new app and connect your GitHub repository.
Configure HTTP Traffic
In the deployment settings:
Set Environment Variables
Configure the following environment variables:
| Variable | Value |
|---|---|
PUID | 1000 |
PGID | 1000 |
SECRET_KEY | Generate with openssl rand -hex 32 |
Attach Persistent Volumes
Add the following volumes:
| Mount Path | Recommended Size | Purpose |
|---|---|---|
/app/data | 5 GB | Recipes, images, and database |
Deploy Your Application
Click Deploy to start the build process.
Access Tamari
Once deployment completes, access Tamari at your app URL.
Configuration
Adding Recipes
Add recipes manually:
- Click Add Recipe
- Enter recipe details (title, ingredients, instructions)
- Upload a photo
- Add tags and categories
- Save the recipe
Importing from URLs
Import recipes from websites:
- Click Import Recipe
- Paste the recipe URL
- Review and edit the parsed recipe
- Save to your collection
Meal Planning
Plan your meals:
- Navigate to Meal Planner
- Click on a day to add a meal
- Select recipes from your collection
- View your week at a glance
Shopping Lists
Generate shopping lists:
- Select recipes for your shopping trip
- Click Generate Shopping List
- Edit quantities as needed
- Check off items while shopping
Additional Resources
Conclusion
Deploying Tamari on Klutch.sh gives you a beautiful recipe management system with automatic builds, persistent storage, and secure HTTPS access. Organize your recipes, plan meals, and generate shopping lists with ease.