mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-11-02 02:03:20 -05:00
* reduce docker dev size * reduce docker prod size * fix lint * add gunicorn * fix bandit reported issues * add docs external link icon * add env vars to docs * add permission to docker * merge to one backend Dockerfile * fix codefactor issues * add docs for puid/pgid * add docker healthcheck
35 lines
736 B
YAML
35 lines
736 B
YAML
version: "3.1"
|
|
services:
|
|
mealie:
|
|
build:
|
|
context: ./
|
|
target: production
|
|
dockerfile: Dockerfile
|
|
container_name: mealie
|
|
restart: always
|
|
depends_on:
|
|
- "postgres"
|
|
ports:
|
|
- 9090:80
|
|
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
|
|
tmpfs:
|
|
- /mem:size=64m,mode=1777,noatime
|
|
postgres:
|
|
container_name: postgres
|
|
image: postgres
|
|
restart: always
|
|
environment:
|
|
POSTGRES_PASSWORD: mealie
|
|
POSTGRES_USER: mealie
|