commit eaf73d59e3c5c5f44bec1d3bd2dea752d5828b28 Author: Roland St. Amand III Date: Sun Mar 16 02:17:06 2025 +0000 first commit diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 0000000..66ee63c --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,63 @@ +services: + mealie: + image: ghcr.io/mealie-recipes/mealie:v2.7.0 # + + + container_name: mealie + restart: always + ports: + - "9925:9000" # + + + deploy: + resources: + limits: + memory: 1000M # + + + volumes: + - mealie-data:/app/data/ + environment: + # Set Backend ENV Variables Here + ALLOW_SIGNUP: "false" + PUID: 1000 + PGID: 1000 + TZ: America/Detroit + BASE_URL: https://mealie.stamand.us + SMTP_HOST: mail.stamand.us + SMTP_PORT: 587 + SMTP_FROM_NAME: Mealie + SMTP_AUTH_STRATEGY: TLS + SMTP_FROM_EMAIL: mealie@stamand.us + SMTP_USER: mealie@stamand.us + SMTP_PASSWORD: R4c00ns10! + OPENAI_API_KEY: sk-proj-Bh9gRNDoUSdqj8K6dkciT3BlbkFJeYGi4C7nsnKpMtGcTwJf + # Database Settings + DB_ENGINE: postgres + POSTGRES_USER: mealie + POSTGRES_PASSWORD: mealie + POSTGRES_SERVER: postgres + POSTGRES_PORT: 5432 + POSTGRES_DB: mealie + depends_on: + postgres: + condition: service_healthy + + postgres: + container_name: postgres + image: postgres:15 + restart: always + volumes: + - mealie-pgdata:/var/lib/postgresql/data + environment: + POSTGRES_PASSWORD: mealie + POSTGRES_USER: mealie + healthcheck: + test: ["CMD", "pg_isready"] + interval: 30s + timeout: 20s + retries: 3 + +volumes: + mealie-data: + mealie-pgdata: