loopyroberts

joined 1 year ago
[–] loopyroberts@alien.top 1 points 1 year ago

I managed to get it working with the following single container. I also use LDAP authentication to authentik so I can get 2FA via Duo. If you don't want LDAP just remove all the LDAP env variables.

All working brilliantly. The natural language parser is amazing.

mealie:
  image: ghcr.io/mealie-recipes/mealie:nightly
  container_name: mealie
  ports:
      - "9925:9000" #

  deploy:
    resources:
      limits:
        memory: 1000M #

  volumes:
    - mealie-data:/app/data/
  environment:
  # Set Backend ENV Variables Here
    - ALLOW_SIGNUP=true
    - PUID=1000
    - PGID=1000
    - TZ=XX/YY
    - MAX_WORKERS=1
    - WEB_CONCURRENCY=1
    - BASE_URL=https://mealie.YOURSITE.com
    - LDAP_AUTH_ENABLED=true
    - LDAP_SERVER_URL=ldap://:389
    - LDAP_BASE_DN=dc=ldap,dc=SITE_NAME,dc=site
    - LDAP_QUERY_BIND=cn=service,ou=service,dc=ldap,dc=SITE_NAME,dc=site
    - LDAP_QUERY_PASSWORD=PASSWORD
    - LDAP_USER_FILTER=(&(objectClass=user)(memberOf=cn=LDAP_GROUP,ou=groups,dc=ldap,dc=SITE_NAME,dc=site))
    - LDAP_ADMIN_FILTER=(&(objectClass=user)(memberOf=cn=LDAP_GROUP,ou=groups,dc=ldap,dc=SITE_NAME,dc=site))
    - LDAP_ID_ATTRIBUTE=cn
  restart: always