74 lines
2.1 KiB
YAML
74 lines
2.1 KiB
YAML
services:
|
|
mealie:
|
|
image: ghcr.io/mealie-recipes/mealie:latest #
|
|
|
|
|
|
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
|
|
OIDC_AUTH_ENABLED: true
|
|
OIDC_PROVIDER_NAME: authentik
|
|
OIDC_CONFIGURATION_URL: https://auth.stamand.us/application/o/mealie-stamand/.well-known/openid-configuration
|
|
OIDC_CLIENT_ID: LENQs1xn7HfZnOjpsDg7ZYrUWLYiYksljSymcppM
|
|
OIDC_CLIENT_SECRET: 711gXPy4X9ffydEWolUpczogiyHJQ9MrROoUstRIGXAPINjLernYDYrprhWMaHsslvzrMMncMwqoCdPVhUoSYZFE6WOJGvhIKrgHO12zYuLPsdKgl64R30yKim2xxRah
|
|
OIDC_SIGNUP_ENABLED: true
|
|
OIDC_USER_GROUP: mealie_users
|
|
OIDC_ADMIN_GROUP: mealie_admins
|
|
OIDC_AUTO_REDIRECT: true # Optional: The login page will be bypassed and you will be sent directly to your Identity Provider.
|
|
OIDC_REMEMBER_ME: true # Optional: By setting this value to true, a session will be extended as if "Remember Me" was checked.
|
|
# 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:
|