first commit
This commit is contained in:
58
mealie/docker-compose.yml
Normal file
58
mealie/docker-compose.yml
Normal file
@@ -0,0 +1,58 @@
|
||||
services:
|
||||
db:
|
||||
image: postgres:16
|
||||
container_name: Mealie-DB
|
||||
hostname: mealie-db
|
||||
mem_limit: 1g
|
||||
cpu_shares: 768
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
healthcheck:
|
||||
test: ["CMD", "pg_isready", "-q", "-d", "mealie", "-U", "mealieuser"]
|
||||
timeout: 45s
|
||||
interval: 10s
|
||||
retries: 10
|
||||
volumes:
|
||||
- /volume1/docker/mealie/db:/var/lib/postgresql/data:rw
|
||||
environment:
|
||||
POSTGRES_DB: mealie
|
||||
POSTGRES_USER: mealieuser
|
||||
POSTGRES_PASSWORD: mealiepass
|
||||
restart: on-failure:5
|
||||
|
||||
mealie:
|
||||
image: ghcr.io/mealie-recipes/mealie:latest
|
||||
container_name: Mealie
|
||||
hostname: mealie
|
||||
mem_limit: 4g
|
||||
cpu_shares: 1024
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
read_only: false
|
||||
ports:
|
||||
- 9925:9000
|
||||
volumes:
|
||||
- /volume1/docker/mealie/data:/app/data/:rw
|
||||
environment:
|
||||
TZ: Europe/Bucharest
|
||||
MAX_WORKERS: 1
|
||||
WEB_CONCURRENCY: 1
|
||||
ALLOW_SIGNUP: true #or false
|
||||
BASE_URL: http://192.168.10.115 #or https://mealie.yourname.synology.me
|
||||
DB_ENGINE: postgres
|
||||
POSTGRES_USER: mealieuser
|
||||
POSTGRES_PASSWORD: mealiepass
|
||||
POSTGRES_SERVER: mealie-db
|
||||
POSTGRES_PORT: 5432
|
||||
POSTGRES_DB: mealie
|
||||
SMTP_HOST: smtp.gmail.com
|
||||
SMTP_PORT: 587
|
||||
SMTP_FROM_NAME: Mealie
|
||||
SMTP_AUTH_STRATEGY: TLS # Options: TLS, SSL, NONE
|
||||
SMTP_FROM_EMAIL: mv.bingham@gmail.com
|
||||
SMTP_USER: mv.bingham@gmail.com
|
||||
SMTP_PASSWORD: lnyk rkjf ogxw fxou
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
db:
|
||||
condition: service_healthy
|
||||
Reference in New Issue
Block a user