mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-10-27 00:04:23 -04:00
* Update docker-compose.yml ERROR: The Compose file './docker-compose.yml' is invalid because: services.mealie.environment.WEB_GUNICORN contains true, which is an invalid type, it should be a string, number, or a null * Update docker-compose.yml Also fix SMTP settings, since they aren't in array format as in mealie-frontend. * Once more, ironing out a few minor issues. Server status reported this, I think this is the correct value, but I'm happy to revert and/or update the value as needed. * Revert previous two commits Per https://github.com/hay-kot/mealie/pull/2109#pullrequestreview-1294610637 * Stray newline Missed a stray newline that was inadvertently added.
93 lines
2.3 KiB
YAML
93 lines
2.3 KiB
YAML
version: "3.4"
|
|
services:
|
|
mealie-frontend:
|
|
container_name: mealie-frontend
|
|
image: mealie-frontend:dev
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 500M
|
|
build:
|
|
context: ../
|
|
dockerfile: ./docker/frontend.Dockerfile
|
|
restart: always
|
|
volumes:
|
|
- mealie-data:/app/data/
|
|
ports:
|
|
- 9091:3000
|
|
environment:
|
|
- API_URL=http://mealie-api:9000
|
|
|
|
# =====================================
|
|
# Light Mode Config
|
|
- THEME_LIGHT_PRIMARY=#E58325
|
|
- THEME_LIGHT_ACCENT=#007A99
|
|
- THEME_LIGHT_SECONDARY=#973542
|
|
- THEME_LIGHT_SUCCESS=#43A047
|
|
- THEME_LIGHT_INFO=#1976D2
|
|
- THEME_LIGHT_WARNING=#FF6D00
|
|
- THEME_LIGHT_ERROR=#EF5350
|
|
# =====================================
|
|
# Dark Mode Config
|
|
- THEME_DARK_PRIMARY=#E58325
|
|
- THEME_DARK_ACCENT=#007A99
|
|
- THEME_DARK_SECONDARY=#973542
|
|
- THEME_DARK_SUCCESS=#43A047
|
|
- THEME_DARK_INFO=#1976D2
|
|
- THEME_DARK_WARNING=#FF6D00
|
|
- THEME_DARK_ERROR=#EF5350
|
|
mealie:
|
|
container_name: mealie-api
|
|
deploy:
|
|
resources:
|
|
limits:
|
|
memory: 1000M
|
|
build:
|
|
context: ../
|
|
target: production
|
|
dockerfile: ./docker/api.Dockerfile
|
|
restart: always
|
|
volumes:
|
|
- mealie-data:/app/data/
|
|
ports:
|
|
- 9092:9000
|
|
environment:
|
|
ALLOW_SIGNUP: "false"
|
|
DB_ENGINE: sqlite # Optional: 'sqlite', 'postgres'
|
|
# =====================================
|
|
# Postgres Config
|
|
POSTGRES_USER: mealie
|
|
POSTGRES_PASSWORD: mealie
|
|
POSTGRES_SERVER: postgres
|
|
POSTGRES_PORT: 5432
|
|
POSTGRES_DB: mealie
|
|
|
|
# =====================================
|
|
# Web Concurrency
|
|
WEB_GUNICORN: "true"
|
|
WORKERS_PER_CORE: 0.5
|
|
MAX_WORKERS: 1
|
|
WEB_CONCURRENCY: 1
|
|
|
|
# =====================================
|
|
# Email Configuration
|
|
# SMTP_HOST=
|
|
# SMTP_PORT=587
|
|
# SMTP_FROM_NAME=Mealie
|
|
# SMTP_AUTH_STRATEGY=TLS # Options: 'TLS', 'SSL', 'NONE'
|
|
# SMTP_FROM_EMAIL=
|
|
# SMTP_USER=
|
|
# SMTP_PASSWORD=
|
|
|
|
# postgres:
|
|
# container_name: postgres
|
|
# image: postgres
|
|
# restart: always
|
|
# environment:
|
|
# POSTGRES_PASSWORD: mealie
|
|
# POSTGRES_USER: mealie
|
|
|
|
volumes:
|
|
mealie-data:
|
|
driver: local
|