container: support bind mounted db data directory and mysql config

This commit is contained in:
uumas
2023-04-21 07:44:23 +03:00
parent 20e38332e6
commit 079b008111
7 changed files with 79 additions and 21 deletions

View File

@@ -37,6 +37,19 @@ argument_specs:
description: "database_passwords[docker_service] is a string with the password used for communication between the service and database. Required if docker_database is postgres or mariadb"
type: dict
required: false
docker_mariadb_config:
description: |
A dict specifying config for mariadb. For example
mysqld:
innodb_buffer_pool_size: '4G'
aria_pagecache_buffer_size': '4G'
would set
[mysqld]
innodb_buffer_pool_size = 4G
aria_pagecache_buffer_size = 4G
type: dict
required: false
default: {}
docker_additional_services:
description: "List of additional services to configure (in separate containers). These will be accessible with hostname <docker_service_name>[_suffix]_<additional_service>"
type: list