mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Huge role refactoring/cleanup. Other commits will propably follow. Because some bugs will exist. Still important for longrun and also for auto docs/help/slideshow generation
This commit is contained in:
16
roles/web-app-matomo/templates/docker-compose.yml.j2
Normal file
16
roles/web-app-matomo/templates/docker-compose.yml.j2
Normal file
@@ -0,0 +1,16 @@
|
||||
{% include 'roles/docker-compose/templates/base.yml.j2' %}
|
||||
application:
|
||||
{% set container_port = 80 %}
|
||||
{% include 'roles/docker-container/templates/base.yml.j2' %}
|
||||
image: "{{ applications[application_id].images[application_id] }}"
|
||||
ports:
|
||||
- "127.0.0.1:{{ports.localhost.http[application_id]}}:{{ container_port }}"
|
||||
volumes:
|
||||
- data:/var/www/html
|
||||
{% include 'roles/docker-container/templates/depends_on/dmbs_excl.yml.j2' %}
|
||||
{% include 'roles/docker-container/templates/networks.yml.j2' %}
|
||||
{% include 'roles/docker-container/templates/healthcheck/tcp.yml.j2' %}
|
||||
{% include 'roles/docker-compose/templates/volumes.yml.j2' %}
|
||||
data:
|
||||
|
||||
{% include 'roles/docker-compose/templates/networks.yml.j2' %}
|
8
roles/web-app-matomo/templates/env.j2
Normal file
8
roles/web-app-matomo/templates/env.j2
Normal file
@@ -0,0 +1,8 @@
|
||||
# Environment File for Matomo
|
||||
# @see https://hub.docker.com/_/matomo/
|
||||
|
||||
MATOMO_DATABASE_HOST= "{{database_host}}:{{database_port}}"
|
||||
MATOMO_DATABASE_ADAPTER= "mysql"
|
||||
MATOMO_DATABASE_USERNAME= "{{database_username}}"
|
||||
MATOMO_DATABASE_PASSWORD= "{{database_password}}"
|
||||
MATOMO_DATABASE_DBNAME= "{{database_name}}"
|
Reference in New Issue
Block a user