homelab/bxl-shp/apps/docker-compose.mealie.yaml

43 lines
1.3 KiB
YAML
Raw Normal View History

2023-09-26 09:53:42 +02:00
services:
mealie:
container_name: mealie
2024-05-30 15:15:31 +02:00
image: hkotel/mealie:latest
2023-09-26 09:53:42 +02:00
restart: always
environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Paris
2024-05-30 15:15:31 +02:00
- MAX_WORKERS=1
- WEB_CONCURRENCY=1
- BASE_URL=https://recipes.bhasher.com
- OIDC_AUTH_ENABLED=true
- OIDC_SIGNUP_ENABLE=true
- OIDC_REMEMBER_ME=true
2024-06-11 17:21:09 +02:00
- OIDC_AUTO_REDIRECT=false
2024-05-30 15:15:31 +02:00
- OIDC_CONFIGURATION_URL=https://idp.bhasher.com/.well-known/openid-configuration
- OIDC_CLIENT_ID=mealie
- OIDC_PROVIDER_NAME=Authelia
- OIDC_USER_GROUP=everybody
- OIDC_ADMIN_GROUP=admin
2024-06-11 17:21:09 +02:00
- OPENAI_BASE_URL=https://api.mistral.ai/v1/chat/completions
- OPENAI_API_KEY=${MISTRAL_API_KEY}
- OPENAI_MODEL=mistral-large-latest
- OPENAI_WORKERS=2
- OPENAI_SEND_DATABASE_DATA=true
2023-09-26 09:53:42 +02:00
labels:
- "traefik.enable=true"
2024-05-30 15:15:31 +02:00
- "traefik.http.routers.mealie.rule=Host(`recipes.bhasher.com`)"
- "traefik.http.services.mealie.loadbalancer.server.port=9000"
2023-09-26 09:53:42 +02:00
- "traefik.http.routers.mealie.tls=true"
- "traefik.http.routers.mealie.tls.certresolver=http"
- "traefik.http.routers.mealie.entrypoints=internalsecure,externalsecure"
2023-12-26 22:59:06 +01:00
- "com.centurylinklabs.watchtower.enable=true"
2023-09-26 09:53:42 +02:00
volumes:
2024-06-11 17:21:09 +02:00
- $DATA/mealie/v2:/app/data
2023-09-26 09:53:42 +02:00
networks:
- external
networks:
external:
external: true