1
0
Fork 0
mirror of https://github.com/mealie-recipes/mealie.git synced 2025-07-25 08:09:41 +02:00
mealie/docker-compose.yml

36 lines
842 B
YAML
Raw Normal View History

2020-12-24 16:37:38 -09:00
version: "3.1"
services:
2021-08-07 20:22:22 -08:00
mealie-frontend:
container_name: mealie-frontend
image: mealie-frontend:dev
build:
context: ./frontend
dockerfile: Dockerfile
restart: always
ports:
- 9091:3000
environment:
2021-08-09 17:37:13 -08:00
- GLOBAL_MIDDLEWARE=auth
2021-08-08 11:17:03 -08:00
- SUB_PATH=/mealie/
2021-08-07 20:22:22 -08:00
- ALLOW_SIGNUP=true
2021-08-09 17:37:13 -08:00
- API_URL=http://mealie-api:80
2020-12-24 16:37:38 -09:00
mealie:
2021-08-07 20:22:22 -08:00
container_name: mealie-api
2020-12-24 16:37:38 -09:00
build:
context: ./
target: production
2020-12-24 16:37:38 -09:00
dockerfile: Dockerfile
restart: always
ports:
2021-08-07 20:22:22 -08:00
- 9092:80
2020-12-24 16:37:38 -09:00
environment:
2021-08-07 20:22:22 -08:00
# DB_ENGINE: postgres # Optional: 'sqlite', 'postgres'
# POSTGRES_USER: mealie
# POSTGRES_PASSWORD: mealie
# POSTGRES_SERVER: postgres
# POSTGRES_PORT: 5432
# POSTGRES_DB: mealie
# WORKERS_PER_CORE: 0.5
2021-08-08 11:17:03 -08:00
MAX_WORKERS: 1
WEB_CONCURRENCY: 1