mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-12-02 16:44:05 -05:00
* changed python base image to 3.9.6 * bumped poetry version to 1.1.7 * user creation based on env variable PGID and PUID with default as PUID/PGID= 911 * App exposes APP_PORT=80 as env variable * Removed user mod and handled it in docker image. * moved scheduler.db to /app/temp dir * set app default port to 80 if envvariable null * Changed application port to env variable with default as 80 * Created sch. direcotry as part of image creation * minor logging improvements. * removed docker target * cleanup * fixed port * fixed port * fixed port * removed volume specification * fixing code quality warnings * fixing code quality warnings * fixing code quality warnings * bumped versions to fix vulnerabilities * corrected port * bumped uvicorn version to fix vulnerabilities * minor fix * added sticky permissions * adding port change info to docs * adding port change info to docs * adding port change info to docs * improved formatting * docs updated * added docker port change warning
31 lines
685 B
YAML
31 lines
685 B
YAML
version: "3.1"
|
|
services:
|
|
mealie:
|
|
build:
|
|
context: ./
|
|
target: production
|
|
dockerfile: Dockerfile
|
|
container_name: mealie
|
|
restart: always
|
|
depends_on:
|
|
- "postgres"
|
|
ports:
|
|
- 9090:9080
|
|
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
|