feat: Mealie works with sqlite.
This commit is contained in:
parent
c9266c6c46
commit
3794d88cb6
@ -1,16 +1,18 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
## General
|
mealie_docker_version: "latest"
|
||||||
# Version
|
mealie_port: "9925"
|
||||||
mealie_version: 1.0.0
|
mealie_timezone: "Europe/Brussels"
|
||||||
|
|
||||||
# mealie paths
|
# Mealie paths
|
||||||
mealie_root_path: /opt/mealie
|
mealie_root_path: /opt/mealie
|
||||||
mealie_config_path: "{{ mealie_root_path }}/conf"
|
mealie_config_path: "{{ mealie_root_path }}/conf"
|
||||||
|
mealie_data_path: "{{ mealie_root_path }}/data"
|
||||||
mealie_skeleton_paths:
|
mealie_skeleton_paths:
|
||||||
- "{{ mealie_config_path }}"
|
- "{{ mealie_config_path }}"
|
||||||
|
- "{{ mealie_data_path }}"
|
||||||
|
|
||||||
# Documentation
|
# Documentation
|
||||||
mealie_documentation_link: ""
|
mealie_documentation_link: "https://git.laurivan.com/Dev/ansible-role-mealie/src/branch/main/README.md"
|
||||||
|
|
||||||
|
|
||||||
|
@ -7,15 +7,15 @@
|
|||||||
group: "{{ ansible_effective_group_id }}"
|
group: "{{ ansible_effective_group_id }}"
|
||||||
mode: "0750"
|
mode: "0750"
|
||||||
with_items:
|
with_items:
|
||||||
- "}} mealie_skeleton_paths }}"
|
- "{{ mealie_skeleton_paths }}"
|
||||||
tags:
|
tags:
|
||||||
- mealie_configure
|
- mealie_configure
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: "MEALIE | Write configuration files"
|
- name: "MEALIE | Write configuration files"
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
src: "}} item }}.j2"
|
src: "{{ item }}.j2"
|
||||||
dest: "}} cookiecutter.app_name }}_config_path | expanduser | realpath }}/}} item }}"
|
dest: "{{ mealie_config_path | expanduser | realpath }}/{{ item }}"
|
||||||
mode: '0640'
|
mode: '0640'
|
||||||
loop:
|
loop:
|
||||||
- "docker-compose.yml"
|
- "docker-compose.yml"
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- mealie_configure
|
- mealie_configure
|
||||||
|
|
||||||
- name:" MEALIE | Install"
|
- name: "MEALIE | Install"
|
||||||
import_tasks: install.yml
|
import_tasks: install.yml
|
||||||
tags:
|
tags:
|
||||||
- mealie_install
|
- mealie_install
|
||||||
|
@ -1,3 +1,25 @@
|
|||||||
# mealie docker compose
|
# mealie docker compose
|
||||||
version: '3.9'
|
version: "3.1"
|
||||||
services:
|
services:
|
||||||
|
mealie:
|
||||||
|
image: hkotel/mealie:latest
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "{{ mealie_port }}:80"
|
||||||
|
environment:
|
||||||
|
TZ: "{{ mealie_timezone }}"
|
||||||
|
|
||||||
|
# Default Recipe Settings
|
||||||
|
RECIPE_PUBLIC: 'true'
|
||||||
|
RECIPE_SHOW_NUTRITION: 'true'
|
||||||
|
RECIPE_SHOW_ASSETS: 'true'
|
||||||
|
RECIPE_LANDSCAPE_VIEW: 'true'
|
||||||
|
RECIPE_DISABLE_COMMENTS: 'false'
|
||||||
|
RECIPE_DISABLE_AMOUNT: 'false'
|
||||||
|
|
||||||
|
# Gunicorn
|
||||||
|
# WEB_CONCURRENCY: 2
|
||||||
|
# WORKERS_PER_CORE: 0.5
|
||||||
|
# MAX_WORKERS: 8
|
||||||
|
volumes:
|
||||||
|
- "{{ mealie_data_path }}:/app/data"
|
Loading…
Reference in New Issue
Block a user