deployment/stacks/mealie.yml

48 lines
1.1 KiB
YAML
Raw Normal View History

2022-03-20 12:08:09 +01:00
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'
2022-03-20 12:09:29 +01:00
- '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'
2022-03-20 12:08:09 +01:00
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: