forked from CCCHH/ansible-infra
[role] add kitchenowl
This commit is contained in:
parent
13a8dc9b6f
commit
4a617ce50a
5 changed files with 132 additions and 0 deletions
24
roles/kitchenowl/templates/docker-compose.j2
Normal file
24
roles/kitchenowl/templates/docker-compose.j2
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
services:
|
||||
front:
|
||||
image: tombursch/kitchenowl-web:{{ kitchenowl_dockertag }}
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "{{ kitchenowl_port }}:80"
|
||||
depends_on:
|
||||
- back
|
||||
back:
|
||||
image: tombursch/kitchenowl-backend:{{ kitchenowl_dockertag }}
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- JWT_SECRET_KEY={{ kitchenowl_jwt }}
|
||||
{% if kitchenowl_oidc['enabled'] %}
|
||||
- FRONT_URL={{ kitchenowl_oidc['front_url'] }}
|
||||
- OIDC_ISSUER={{ kitchenowl_oidc['oidc_issuer'] }}
|
||||
- OIDC_CLIENT_ID={{ kitchenowl_oidc['oidc_client_id'] }}
|
||||
- OIDC_CLIENT_SECRET: {{ kitchenowl_oidc['oidc_client_secret'] }}
|
||||
{% endif %}
|
||||
volumes:
|
||||
- kitchenowl_data:/data
|
||||
|
||||
volumes:
|
||||
kitchenowl_data:
|
||||
Loading…
Add table
Add a link
Reference in a new issue