99342db824
Change-Id: Ibb260f820dbc1d9d6ca523ff3903134612cb003e
19 lines
513 B
Django/Jinja
19 lines
513 B
Django/Jinja
version: '2'
|
|
services:
|
|
mariadb:
|
|
image: docker.io/library/mariadb:10.11
|
|
network_mode: host
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: "{{ mariadb_root_password }}"
|
|
MYSQL_DATABASE: "{{ mariadb_dbname }}"
|
|
MYSQL_USER: "{{ mariadb_username }}"
|
|
MYSQL_PASSWORD: "{{ mariadb_password }}"
|
|
MARIADB_AUTO_UPGRADE: 1
|
|
volumes:
|
|
- /var/mariadb/db:/var/lib/mysql
|
|
- /var/mariadb/etc:/etc/mysql/conf.d
|
|
logging:
|
|
driver: syslog
|
|
options:
|
|
tag: "docker-mariadb"
|