mealie/docker-compose.yml

77 lines
2 KiB
YAML
Raw Normal View History

2020-12-25 01:37:38 +00:00
version: "3.1"
services:
2021-08-08 04:22:22 +00:00
mealie-frontend:
container_name: mealie-frontend
image: mealie-frontend:dev
build:
context: ./frontend
dockerfile: Dockerfile
restart: always
ports:
- 9091:3000
environment:
2021-12-05 22:35:16 +00:00
# - GLOBAL_MIDDLEWARE=auth
# - SUB_PATH=/mealie/
2021-08-08 04:22:22 +00:00
- ALLOW_SIGNUP=true
2021-08-10 01:37:13 +00:00
- API_URL=http://mealie-api:80
# =====================================
# 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
# =====================================
# Light 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
2020-12-25 01:37:38 +00:00
mealie:
2021-08-08 04:22:22 +00:00
container_name: mealie-api
2020-12-25 01:37:38 +00:00
build:
context: ./
target: production
2020-12-25 01:37:38 +00:00
dockerfile: Dockerfile
restart: always
ports:
2021-08-08 04:22:22 +00:00
- 9092:80
2020-12-25 01:37:38 +00:00
environment:
2021-12-05 22:35:16 +00:00
DB_ENGINE: sqlite # Optional: 'sqlite', 'postgres'
# =====================================
# Postgres Config
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
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
# - SMTP_HOST=
# - SMTP_PORT=587
# - SMTP_FROM_NAME=Mealie
# - SMTP_TLS=true
# - SMTP_FROM_EMAIL=
# - SMTP_USER=
# - SMTP_PASSWORD=
# postgres:
# container_name: postgres
# image: postgres
# restart: always
# environment:
# POSTGRES_PASSWORD: mealie
# POSTGRES_USER: mealie