2022-03-15 23:01:56 +00:00
|
|
|
version: "3.4"
|
2020-12-25 01:37:38 +00:00
|
|
|
services:
|
2021-08-08 04:22:22 +00:00
|
|
|
mealie-frontend:
|
|
|
|
container_name: mealie-frontend
|
|
|
|
image: mealie-frontend:dev
|
2022-10-23 04:00:13 +00:00
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: 500M
|
2021-08-08 04:22:22 +00:00
|
|
|
build:
|
2022-12-31 18:01:15 +00:00
|
|
|
context: ../
|
|
|
|
dockerfile: ./docker/frontend.Dockerfile
|
2021-08-08 04:22:22 +00:00
|
|
|
restart: always
|
2022-02-20 23:17:51 +00:00
|
|
|
volumes:
|
|
|
|
- mealie-data:/app/data/
|
2021-08-08 04:22:22 +00:00
|
|
|
ports:
|
|
|
|
- 9091:3000
|
|
|
|
environment:
|
2022-02-20 23:17:51 +00:00
|
|
|
- API_URL=http://mealie-api:9000
|
2021-10-03 22:07:18 +00:00
|
|
|
|
|
|
|
# =====================================
|
|
|
|
# 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
|
|
|
|
# =====================================
|
2022-02-20 23:17:51 +00:00
|
|
|
# Dark Mode Config
|
2021-10-03 22:07:18 +00:00
|
|
|
- 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
|
2020-12-25 01:37:38 +00:00
|
|
|
mealie:
|
2021-08-08 04:22:22 +00:00
|
|
|
container_name: mealie-api
|
2022-10-23 04:00:13 +00:00
|
|
|
deploy:
|
|
|
|
resources:
|
|
|
|
limits:
|
|
|
|
memory: 1000M
|
2020-12-25 01:37:38 +00:00
|
|
|
build:
|
2022-12-31 18:01:15 +00:00
|
|
|
context: ../
|
2021-06-22 18:22:31 +00:00
|
|
|
target: production
|
2022-12-31 18:01:15 +00:00
|
|
|
dockerfile: ./docker/api.Dockerfile
|
2020-12-25 01:37:38 +00:00
|
|
|
restart: always
|
2022-02-20 23:17:51 +00:00
|
|
|
volumes:
|
|
|
|
- mealie-data:/app/data/
|
2020-12-25 01:37:38 +00:00
|
|
|
ports:
|
2022-02-20 23:17:51 +00:00
|
|
|
- 9092:9000
|
2020-12-25 01:37:38 +00:00
|
|
|
environment:
|
2022-03-16 01:34:53 +00:00
|
|
|
ALLOW_SIGNUP: "false"
|
|
|
|
|
2021-12-05 22:35:16 +00:00
|
|
|
DB_ENGINE: sqlite # Optional: 'sqlite', 'postgres'
|
|
|
|
# =====================================
|
|
|
|
# Postgres Config
|
2021-09-19 23:31:34 +00:00
|
|
|
POSTGRES_USER: mealie
|
|
|
|
POSTGRES_PASSWORD: mealie
|
|
|
|
POSTGRES_SERVER: postgres
|
|
|
|
POSTGRES_PORT: 5432
|
|
|
|
POSTGRES_DB: mealie
|
2021-12-05 22:35:16 +00:00
|
|
|
|
|
|
|
# =====================================
|
|
|
|
# Web Concurrency
|
2022-10-23 04:00:13 +00:00
|
|
|
WEB_GUNICORN: true
|
2021-09-19 23:31:34 +00:00
|
|
|
WORKERS_PER_CORE: 0.5
|
2021-08-08 19:17:03 +00:00
|
|
|
MAX_WORKERS: 1
|
|
|
|
WEB_CONCURRENCY: 1
|
2021-12-05 22:35:16 +00:00
|
|
|
|
|
|
|
# =====================================
|
|
|
|
# Email Configuration
|
2022-05-21 19:15:14 +00:00
|
|
|
# SMTP_HOST=
|
|
|
|
# SMTP_PORT=587
|
|
|
|
# SMTP_FROM_NAME=Mealie
|
|
|
|
# SMTP_AUTH_STRATEGY=TLS # Options: 'TLS', 'SSL', 'NONE'
|
|
|
|
# SMTP_FROM_EMAIL=
|
|
|
|
# SMTP_USER=
|
|
|
|
# SMTP_PASSWORD=
|
|
|
|
|
2021-12-05 22:35:16 +00:00
|
|
|
# postgres:
|
|
|
|
# container_name: postgres
|
|
|
|
# image: postgres
|
|
|
|
# restart: always
|
|
|
|
# environment:
|
|
|
|
# POSTGRES_PASSWORD: mealie
|
|
|
|
# POSTGRES_USER: mealie
|
2022-02-20 23:17:51 +00:00
|
|
|
|
|
|
|
volumes:
|
|
|
|
mealie-data:
|
|
|
|
driver: local
|