mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-03 04:25:24 +02:00
Optimize Docker (#575)
* 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
This commit is contained in:
parent
6320ba7ec5
commit
999d0d4322
34 changed files with 465 additions and 193 deletions
|
@ -3,6 +3,7 @@ services:
|
|||
mealie:
|
||||
build:
|
||||
context: ./
|
||||
target: production
|
||||
dockerfile: Dockerfile
|
||||
container_name: mealie
|
||||
restart: always
|
||||
|
@ -17,6 +18,13 @@ services:
|
|||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue