initial commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
# Mealie
|
||||
|
||||
Deploy Mealie recipe manager using Docker Compose.
|
||||
|
||||
## Description
|
||||
|
||||
Mealie is a self-hosted recipe manager with meal planning, shopping lists, and nutrition tracking.
|
||||
|
||||
## Variables
|
||||
|
||||
### Optional
|
||||
|
||||
| Variable | Default | Description |
|
||||
|----------|---------|-------------|
|
||||
| `mealie_http_port` | `9925` | Web interface port |
|
||||
| `mealie_base_url` | `http://localhost:8080` | Base URL for application links and redirects |
|
||||
| `mealie_data_path` | `{{ app_dir }}/data` | Application data storage path |
|
||||
| `mealie_container_version` | `latest` | Mealie Docker image tag |
|
||||
| `mealie_extra_env_vars` | `{}` | Additional environment variables as key-value pairs |
|
||||
|
||||
## Example
|
||||
|
||||
```yaml
|
||||
- role: patrickj.docker_apps.mealie
|
||||
vars:
|
||||
mealie_base_url: "https://recipes.example.com"
|
||||
```
|
||||
@@ -0,0 +1,21 @@
|
||||
---
|
||||
app_name: mealie
|
||||
|
||||
# Container configuration
|
||||
mealie_container_name: "{{ app_name | default('mealie') }}"
|
||||
mealie_container_version: latest
|
||||
mealie_restart_policy: "{{ app_restart_policy }}"
|
||||
mealie_user: "{{ app_uid }}"
|
||||
mealie_group: "{{ app_gid }}"
|
||||
|
||||
# Network configuration
|
||||
mealie_http_port: 9925
|
||||
|
||||
# Volume paths
|
||||
mealie_data_path: "{{ app_dir }}/data"
|
||||
|
||||
# App-specific configuration
|
||||
mealie_timezone: "{{ app_timezone_cc }}"
|
||||
mealie_base_url: http://localhost:8080
|
||||
mealie_extra_env_vars: {}
|
||||
# ALLOW_SIGNUP: "false"
|
||||
@@ -0,0 +1,14 @@
|
||||
---
|
||||
galaxy_info:
|
||||
author: Patrick Jaroszewski
|
||||
description: Deploy Mealie with Docker Compose
|
||||
license: MIT
|
||||
|
||||
dependencies:
|
||||
- role: patrickj.docker_apps.docker_compose_app
|
||||
vars:
|
||||
app_role_name: mealie
|
||||
app_subdirectories:
|
||||
- "{{ mealie_data_path }}"
|
||||
app_backup_subdirectories:
|
||||
- "{{ mealie_data_path }}"
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
services:
|
||||
mealie:
|
||||
image: ghcr.io/mealie-recipes/mealie:{{ mealie_container_version }}
|
||||
container_name: {{ mealie_container_name }}
|
||||
restart: {{ mealie_restart_policy }}
|
||||
ports:
|
||||
- "{{ mealie_http_port }}:9000"
|
||||
|
||||
deploy:
|
||||
resources:
|
||||
limits:
|
||||
memory: 1000M
|
||||
|
||||
volumes:
|
||||
- "{{ mealie_data_path }}:/app/data/"
|
||||
environment:
|
||||
# Set Backend ENV Variables Here
|
||||
PUID: {{ mealie_user }}
|
||||
PGID: {{ mealie_group }}
|
||||
TZ: {{ mealie_timezone }}
|
||||
BASE_URL: {{ mealie_base_url }}
|
||||
{% for item in mealie_extra_env_vars %}
|
||||
{{ item.key }}: {{ item.value }}
|
||||
{% endfor %}
|
||||
Reference in New Issue
Block a user