mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-03-29 04:23:34 +01:00
14 lines
363 B
Django/Jinja
14 lines
363 B
Django/Jinja
services:
|
|
application:
|
|
build: .
|
|
ports:
|
|
- "127.0.0.1:{{ports.localhost.http[application_id]}}:8000"
|
|
healthcheck:
|
|
test: ["CMD", "curl", "-f", "http://127.0.0.1:8000"]
|
|
interval: 1m
|
|
timeout: 10s
|
|
retries: 3
|
|
{% include 'templates/docker/container/networks.yml.j2' %}
|
|
|
|
{% include 'templates/docker/compose/networks.yml.j2' %}
|