mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Added draft for central postgres and mariadb. variables and networks still need to be adapted
This commit is contained in:
@@ -14,17 +14,18 @@ services:
|
||||
MATOMO_DATABASE_USERNAME: "{{database_username}}"
|
||||
MATOMO_DATABASE_PASSWORD: "{{database_password}}"
|
||||
MATOMO_DATABASE_DBNAME: "{{database_databasename}}"
|
||||
links:
|
||||
- database
|
||||
depends_on:
|
||||
- database
|
||||
volumes:
|
||||
- data:/var/www/html
|
||||
|
||||
{% if not ( enable_central_database | lower | bool ) %}
|
||||
depends_on:
|
||||
- database
|
||||
{% include 'templates/docker-mariadb-service.yml.j2' %}
|
||||
|
||||
{% endif %}
|
||||
volumes:
|
||||
{% if not ( enable_central_database | lower | bool ) %}
|
||||
database:
|
||||
{% endif %}
|
||||
data:
|
||||
networks:
|
||||
default:
|
||||
|
Reference in New Issue
Block a user