Files
mealie/docker-compose.yml

31 lines
685 B
YAML
Raw Normal View History

2020-12-24 16:37:38 -09:00
version: "3.1"
services:
mealie:
build:
context: ./
target: production
2020-12-24 16:37:38 -09:00
dockerfile: Dockerfile
container_name: mealie
restart: always
depends_on:
- "postgres"
2020-12-24 16:37:38 -09:00
ports:
- 9090:80
2020-12-24 16:37:38 -09:00
environment:
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
# MAX_WORKERS: 8
# WEB_CONCURRENCY: 2
postgres:
container_name: postgres
image: postgres
restart: always
environment:
POSTGRES_PASSWORD: mealie
POSTGRES_USER: mealie