version: '3.4' services: app: image: 'hkotel/mealie:v0.5.6' deploy: mode: 'replicated' replicas: 1 placement: constraints: - 'node.labels.class.mealie==true' labels: - 'traefik.enable=true' - 'traefik.http.routers.mealie.rule=Host(`cook.rustybever.be`)' - 'traefik.http.routers.mealie.tls=true' - 'traefik.http.routers.mealie.tls.certresolver=letsEncrypt' - 'traefik.http.services.mealie.loadbalancer.server.port=80' environment: - 'PUID=1000' - 'PGID=1000' - 'TZ=Europe/Brussels' # Default Recipe Settings - 'RECIPE_PUBLIC=true' - 'RECIPE_SHOW_NUTRITION=false' - 'RECIPE_SHOW_ASSETS=true' - 'RECIPE_LANDSCAPE_VIEW=true' - 'RECIPE_DISABLE_COMMENTS=false' - 'RECIPE_DISABLE_AMOUNT=false' # My stuff - 'BASE_URL=https://cook.rustybever.be' - 'DEFAULT_GROUP=Default' - 'API_DOCS=false' networks: - public volumes: - 'data:/app/data' networks: public: external: true volumes: data: