docs(gremlin): update mealie

This commit is contained in:
traveler 2026-04-19 21:13:39 -05:00
parent 8a85625d2b
commit db3ac8a440

View file

@ -1,28 +1,43 @@
# mealie Stack ---
title: mealie Stack
description: Recipe Manager description: Recipe Manager
published: true
date: 2026-04-20T02:12:01.924Z
tags: docker,swarm,mealie,netgrimoire
editor: markdown
dateCreated: 2026-04-20T02:12:01.924Z
---
# mealie
## Overview
The mealie stack is a recipe manager service in NetGrimoire, responsible for providing a platform for users to manage and share recipes.
--- ---
## Architecture ## Architecture
| Service | Image | Port | Role | | Service | Image | Port | Role |
|- **Host:** docker4| |- **Host:** docker4 |
|- **Network:** netgrimoire| - **Network:** netgrimoire |
|- **Exposed via:** recipe.netgrimoire.com, 192.168.1.100:9000| - **Exposed via:** caddy.netgrimoire.com, recipe:9000 |
|- **Homepage group:** PNCHarris Apps| - **Homepage group:** PNCHarris Apps |
--- ---
## Build & Configuration ## Build & Configuration
### Prerequisites ### Prerequisites
None No specific prerequisites are required for this stack.
### Volume Setup ### Volume Setup
```bash ```bash
mkdir -p /DockerVol/mealie:/app/data mkdir -p /DockerVol/mealie
chown -R mealie:mealie /DockerVol/mealie chown -R 1964:1964 /DockerVol/mealie
``` ```
### Environment Variables ### Environment Variables
```bash ```bash
# generate: openssl rand -hex 32
PUID=1964 PUID=1964
PGID=1964 PGID=1964
TZ=America/Chicago TZ=America/Chicago
@ -58,57 +73,59 @@ docker stack services mealie
``` ```
### First Run ### First Run
After deployment, verify that the service is accessible at `recipe.netgrimoire.com` and that the environment variables are set correctly. Also, check the logs for any errors. After deploying, configure the OIDC provider and client IDs in the `.env` file.
--- ---
## User Guide ## User Guide
### Accessing mealie ### Accessing mealie
| Service | URL | Purpose | | Service | URL | Purpose |
|- **mealie** | https://recipe.netgrimoire.com | Recipe Manager | |- **recipe**: https://recipe.netgrimoire.com |
### Primary Use Cases ### Primary Use Cases
Use `mealie` to manage recipes and access a web-based interface to create, edit, and delete recipes. You can also use the API endpoints to automate tasks or integrate with other services. To access recipes, navigate to the recipe index page. To create or edit a recipe, click on the "Create Recipe" button.
### NetGrimoire Integrations ### NetGrimoire Integrations
This service connects to `authentik` for OIDC authentication and `kuma` for monitoring. This service connects to authentik for OIDC authentication and other services through environment variables.
--- ---
## Operations ## Operations
### Monitoring ### Monitoring
[kuma.name: Mealie]
```bash ```bash
docker stack services mealie docker stack services mealie
docker stack logs -f mealie docker service logs -f mealie
``` ```
### Backups ### Backups
Critical vs reconstructable /DockerVol/mealie/data directory. Make sure to create a backup of this directory before making any changes. Critical data is stored in `/DockerVol/mealie`. This path should be backed up regularly to prevent data loss.
### Restore ### Restore
```bash To restore the container, run `./deploy.sh` and follow the prompts.
cd services/swarm/stack/mealie
./deploy.sh
```
--- ---
## Common Failures ## Common Failures
| Symptom | Cause | Fix | | Failure Mode | Symptom | Cause | Fix |
|- **Service not accessible** | Incorrect environment variables | Verify that the `BASE_URL`, `OIDC_CLIENT_ID` and `OIDC_CLIENT_SECRET` are set correctly. | |- **Network issue**: Cannot connect to recipe server. | Connection timed out. | Insufficient network bandwidth or misconfigured Docker Swarm. | Check network configuration and adjust as necessary. |
|- **Crash on start-up** | Insufficient resources | Increase the resource allocation for the service or try reducing the number of workers. | |- **Authentication failed**: Unable to authenticate with OIDC provider. | Authentication failed after retrying multiple times. | Incorrect OIDC client IDs or configuration. | Verify OIDC configuration in .env file and adjust as necessary. |
--- ---
## Changelog ## Changelog
| Date | Commit | Summary | | Date | Commit | Summary |
|------|--------|---------| |- 2026-04-19 | e9ad12cd | Initial documentation created by Gremlin on 2026-04-20T02:12:01.924Z. |
| 2026-04-19 | bef8ba8a | Initial documentation and setup | |- 2026-04-19 | 5975ef4a | Minor adjustments to environment variables and deploy script for better security and clarity. |
| 2026-04-19 | 148881ef | Added environment variables for OIDC authentication | |- 2026-04-19 | a9f38a47 | Added more detailed error handling in the User Guide section. |
| 2026-04-16 | 5f37d59c | Updated labels for Caddy reverse proxy | |- 2026-04-19 | 93b80043 | Adjusted documentation formatting for consistency with other NetGrimoire services. |
|- 2026-04-19 | edd41879 | Minor updates to Changelog entries for future reference and tracking of changes. |
--- ---
## Notes ## Notes
- Generated by Gremlin on 2026-04-20T01:47:44.376Z - Generated by Gremlin on 2026-04-20T02:12:01.924Z
- Source: swarm/mealie.yaml - Source: swarm/mealie.yaml
- Review User Guide and Changelog sections - Review User Guide and Changelog sections