46 lines
1.1 KiB
Text
46 lines
1.1 KiB
Text
|
# vi: ft=yaml
|
||
|
version: '3.7'
|
||
|
|
||
|
networks:
|
||
|
traefik:
|
||
|
external: true
|
||
|
kitchenowl:
|
||
|
|
||
|
volumes:
|
||
|
data:
|
||
|
driver_opts:
|
||
|
type: "nfs"
|
||
|
o: "addr=192.168.30.10,nolock,soft,rw"
|
||
|
device: ":/mnt/data/kitchenowl/data"
|
||
|
|
||
|
services:
|
||
|
front:
|
||
|
image: tombursch/kitchenowl-web:v0.4.8
|
||
|
depends_on:
|
||
|
- back
|
||
|
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
|
||
|
back:
|
||
|
image: tombursch/kitchenowl:v75
|
||
|
networks:
|
||
|
- kitchenowl
|
||
|
environment:
|
||
|
- JWT_SECRET_KEY={{ jwt_secret_key }}
|
||
|
volumes:
|
||
|
- type: volume
|
||
|
source: data
|
||
|
target: /data
|
||
|
volume:
|
||
|
nocopy: true
|