2023-12-25 18:22:22 +00:00
|
|
|
# vi: ft=yaml
|
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
networks:
|
|
|
|
traefik:
|
|
|
|
external: true
|
|
|
|
kitchenowl:
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
data:
|
|
|
|
driver_opts:
|
|
|
|
type: "nfs"
|
2024-01-01 12:16:11 +00:00
|
|
|
o: "addr=lewis.dmz,nolock,soft,rw"
|
|
|
|
device: ":/mnt/data/nfs/kitchenowl/data"
|
2023-12-25 18:22:22 +00:00
|
|
|
|
|
|
|
services:
|
2023-12-29 10:03:13 +00:00
|
|
|
kitchenowl-front:
|
2023-12-27 14:13:48 +00:00
|
|
|
image: tombursch/kitchenowl-web:v0.4.20
|
2023-12-25 18:22:22 +00:00
|
|
|
depends_on:
|
2023-12-29 10:03:13 +00:00
|
|
|
- kitchenowl
|
2023-12-25 18:22:22 +00:00
|
|
|
networks:
|
|
|
|
- traefik
|
|
|
|
- kitchenowl
|
|
|
|
deploy:
|
|
|
|
labels:
|
|
|
|
- traefik.enable=true
|
|
|
|
- traefik.http.routers.kitchenowl.entrypoints=websecure
|
|
|
|
- traefik.http.routers.kitchenowl.rule=Host(`boodschappen.kun.is`)
|
|
|
|
- traefik.http.routers.kitchenowl.tls=true
|
|
|
|
- traefik.http.routers.kitchenowl.tls.certresolver=letsencrypt
|
|
|
|
- traefik.http.routers.kitchenowl.service=kitchenowl
|
|
|
|
- traefik.http.services.kitchenowl.loadbalancer.server.port=80
|
|
|
|
- traefik.docker.network=traefik
|
2023-12-29 10:03:13 +00:00
|
|
|
environment:
|
|
|
|
BACK_URL: 'kitchenowl:5000'
|
2023-12-27 14:13:48 +00:00
|
|
|
kitchenowl:
|
|
|
|
image: tombursch/kitchenowl:v92
|
2023-12-25 18:22:22 +00:00
|
|
|
networks:
|
2024-02-08 22:44:36 +00:00
|
|
|
kitchenowl:
|
|
|
|
aliases:
|
|
|
|
- kitchenowl
|
2023-12-25 18:22:22 +00:00
|
|
|
environment:
|
|
|
|
- JWT_SECRET_KEY={{ jwt_secret_key }}
|
|
|
|
volumes:
|
|
|
|
- type: volume
|
|
|
|
source: data
|
|
|
|
target: /data
|
|
|
|
volume:
|
|
|
|
nocopy: true
|
2024-02-08 22:44:36 +00:00
|
|
|
hostname: kitchenowl
|