mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Implemented presentation
This commit is contained in:
20
roles/docker-presentation/templates/docker-compose.yml.j2
Normal file
20
roles/docker-presentation/templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,20 @@
|
||||
services:
|
||||
cymais-presentation:
|
||||
build:
|
||||
context: {{ path_cymais_presentation_output.stdout }}
|
||||
dockerfile: {{ path_cymais_presentation_output.stdout }}/Dockerfile
|
||||
ports:
|
||||
- "127.0.0.1:{{ports.localhost.http[application_id]}}:5000"
|
||||
healthcheck:
|
||||
test: ["CMD", "curl", "-f", "http://127.0.0.1:5000"]
|
||||
interval: 1m
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
volumes:
|
||||
- {{ path_cymais_presentation_output.stdout }}:/app
|
||||
- {{ path_cymais_output.stdout }}:/source
|
||||
{% include 'roles/docker-compose/templates/services/base.yml.j2' %}
|
||||
{% include 'templates/docker/container/networks.yml.j2' %}
|
||||
|
||||
{% include 'templates/docker/compose/networks.yml.j2' %}
|
||||
|
0
roles/docker-presentation/templates/env.j2
Normal file
0
roles/docker-presentation/templates/env.j2
Normal file
Reference in New Issue
Block a user