mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-09-09 11:47:14 +02:00
Optimized yourls variables and healthcheck
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
|
||||
application:
|
||||
{% set container_port = 80 %}
|
||||
{% set container_healthcheck = 'http://127.0.0.1' ~ yourls_admin_location %}
|
||||
image: "{{ yourls_image }}:{{ yourls_version }}"
|
||||
container_name: "{{ yourls_container }}"
|
||||
{% set container_healthcheck = YOURLS_ADMIN_LOCATION %}
|
||||
image: "{{ YOURLS_IMAGE }}:{{ YOURLS_VERSION }}"
|
||||
container_name: "{{ YOURLS_CONTAINER }}"
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
ports:
|
||||
- "127.0.0.1:{{ ports.localhost.http[application_id] }}:{{ container_port }}"
|
||||
|
Reference in New Issue
Block a user