Ajouter kitchenowl/docker-compose.yml
This commit is contained in:
parent
d063ac3e2c
commit
7963945a67
1 changed files with 46 additions and 0 deletions
46
kitchenowl/docker-compose.yml
Normal file
46
kitchenowl/docker-compose.yml
Normal file
|
|
@ -0,0 +1,46 @@
|
||||||
|
name: kitchenowl
|
||||||
|
|
||||||
|
services:
|
||||||
|
front:
|
||||||
|
image: tombursch/kitchenowl-web:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- BACK_URL=back:5000
|
||||||
|
ports:
|
||||||
|
- "6880:80"
|
||||||
|
depends_on:
|
||||||
|
- back
|
||||||
|
networks:
|
||||||
|
- web
|
||||||
|
- kitchen
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.kitchen.rule=Host(`<your URL>`)"
|
||||||
|
- "traefik.http.routers.kitchen.entrypoints=websecure"
|
||||||
|
- "traefik.http.routers.kitchen.tls=true"
|
||||||
|
- "traefik.http.routers.kitchen.tls.certResolver=letsencrypt"
|
||||||
|
- "traefik.docker.network=web"
|
||||||
|
- homepage.group=Famille
|
||||||
|
- homepage.name=Recettes
|
||||||
|
- homepage.href=https://recette.lescourts.fr
|
||||||
|
- homepage.description=Livre de recettes
|
||||||
|
- homepage.icon=kitchenowl.png
|
||||||
|
|
||||||
|
back:
|
||||||
|
image: tombursch/kitchenowl-backend:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
environment:
|
||||||
|
- JWT_SECRET_KEY=<random and complexe key>
|
||||||
|
- FRONT_URL=https://<your URL>
|
||||||
|
volumes:
|
||||||
|
- kitchenowl_data:/data
|
||||||
|
networks:
|
||||||
|
- kitchen
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
kitchenowl_data:
|
||||||
|
networks:
|
||||||
|
kitchen:
|
||||||
|
external: false
|
||||||
|
web:
|
||||||
|
external: true
|
||||||
Loading…
Add table
Add a link
Reference in a new issue