dsf
This commit is contained in:
parent
2524759272
commit
2e682e5908
1 changed files with 29 additions and 34 deletions
|
|
@ -1,68 +1,63 @@
|
||||||
services:
|
services:
|
||||||
recipe:
|
recipe:
|
||||||
image: ghcr.io/mealie-recipes/mealie:latest
|
image: ghcr.io/mealie-recipes/mealie:latest
|
||||||
container_name: mealie
|
|
||||||
restart: always
|
|
||||||
ports:
|
ports:
|
||||||
- "9925:9000"
|
- "9925:9000"
|
||||||
# things that dont matter
|
|
||||||
environment:
|
environment:
|
||||||
PUID: "1001"
|
PUID: "1001"
|
||||||
PGID: "998"
|
PGID: "998"
|
||||||
TZ: "America/Chicago"
|
TZ: America/Chicago
|
||||||
|
|
||||||
MAX_WORKERS: "1"
|
MAX_WORKERS: "1"
|
||||||
WEB_CONCURRENCY: "1"
|
WEB_CONCURRENCY: "1"
|
||||||
BASE_URL: "https://recipe.netgrimoire.com"
|
BASE_URL: https://recipe.netgrimoire.com
|
||||||
|
|
||||||
# Disable local auth / signup (SSO-only)
|
|
||||||
ALLOW_PASSWORD_LOGIN: "false"
|
ALLOW_PASSWORD_LOGIN: "false"
|
||||||
ALLOW_SIGNUP: "false"
|
ALLOW_SIGNUP: "false"
|
||||||
|
|
||||||
# OIDC (authentik)
|
|
||||||
OIDC_AUTH_ENABLED: "true"
|
OIDC_AUTH_ENABLED: "true"
|
||||||
OIDC_PROVIDER_NAME: "authentik"
|
OIDC_PROVIDER_NAME: authentik
|
||||||
OIDC_CONFIGURATION_URL: "https://auth.netgrimoire.com/application/o/mealie/.well-known/openid-configuration"
|
OIDC_CONFIGURATION_URL: https://auth.netgrimoire.com/application/o/mealie/.well-known/openid-configuration
|
||||||
OIDC_CLIENT_ID: "tidMeWe3Ak30zRzcmC5vwoCqAIHXQsaVwJEp44Mz"
|
OIDC_CLIENT_ID: tidMeWe3Ak30zRzcmC5vwoCqAIHXQsaVwJEp44Mz
|
||||||
OIDC_CLIENT_SECRET: "OD0CLgELUEWGoZ8IUnduGbxhyhh4vgjMBxBAjyopNOkATWIEWSYeWRDdfY6ulX2Fj7zuUp9dpgzjoFatNviLD8E5Cv2815eDrZxH9gNb52Taur0LzqBPk25yLCvsnjXK"
|
OIDC_CLIENT_SECRET: OD0CLgELUEWGoZ8IUnduGbxhyhh4vgjMBxBAjyopNOkATWIEWSYeWRDdfY6ulX2Fj7zuUp9dpgzjoFatNviLD8E5Cv2815eDrZxH9gNb52Taur0LzqBPk25yLCvsnjXK
|
||||||
OIDC_AUTO_REDIRECT: "true"
|
OIDC_AUTO_REDIRECT: "true"
|
||||||
OIDC_REMEMBER_ME: "true"
|
OIDC_REMEMBER_ME: "true"
|
||||||
|
|
||||||
# User provisioning and claim mapping
|
|
||||||
OIDC_SIGNUP_ENABLED: "true"
|
OIDC_SIGNUP_ENABLED: "true"
|
||||||
OIDC_USER_CLAIM: "sub"
|
OIDC_USER_CLAIM: sub
|
||||||
OIDC_NAME_CLAIM: "preferred_username"
|
OIDC_NAME_CLAIM: preferred_username
|
||||||
OIDC_GROUPS_CLAIM: "groups"
|
OIDC_GROUPS_CLAIM: groups
|
||||||
OIDC_SCOPES_OVERRIDE: "openid profile email"
|
OIDC_SCOPES_OVERRIDE: openid profile email
|
||||||
|
OIDC_USER_GROUP: mealie-users
|
||||||
# Group-based role mapping
|
OIDC_ADMIN_GROUP: mealie-admins
|
||||||
OIDC_USER_GROUP: "mealie-users"
|
|
||||||
OIDC_ADMIN_GROUP: "mealie-admins"
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
- /DockerVol/mealie:/app/data
|
- /DockerVol/mealie:/app/data
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
- netgrimoire
|
- netgrimoire
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
|
restart_policy:
|
||||||
|
condition: any
|
||||||
|
delay: 5s
|
||||||
|
max_attempts: 3
|
||||||
|
window: 120s
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
|
- node.platform.arch != aarch64
|
||||||
|
- node.platform.arch != arm
|
||||||
- node.hostname == docker4
|
- node.hostname == docker4
|
||||||
labels:
|
labels:
|
||||||
|
caddy: recipe.netgrimoire.com
|
||||||
|
caddy.reverse_proxy: recipe:9000
|
||||||
|
caddy.import_1: crowdsec
|
||||||
|
caddy.import_2: authentik
|
||||||
|
|
||||||
|
kuma.recipe.http.name: Mealie
|
||||||
|
kuma.recipe.http.url: https://recipe.netgrimoire.com
|
||||||
|
|
||||||
homepage.group: PNCHarris Apps
|
homepage.group: PNCHarris Apps
|
||||||
homepage.name: Mealie
|
homepage.name: Mealie
|
||||||
homepage.icon: mealie.png
|
homepage.icon: mealie.png
|
||||||
homepage.href: https://recipe.netgrimoire.com
|
homepage.href: https://recipe.netgrimoire.com
|
||||||
homepage.description: Recipe Manager
|
homepage.description: Recipe Manager
|
||||||
|
|
||||||
kuma.recipe.http.name=: Mealie"
|
diun.enable: "true"
|
||||||
kuma.recipe.http.url: https://recipe:9000
|
|
||||||
|
|
||||||
caddy: recipe.netgrimoire.com
|
|
||||||
caddy.import_1: authentik
|
|
||||||
caddy.reverse_proxy: recipe:9000
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
netgrimoire:
|
netgrimoire:
|
||||||
external: true
|
external: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue