22 lines
620 B
YAML
22 lines
620 B
YAML
---
|
|
services:
|
|
mariadb:
|
|
image: mariadb:${MARIADB_VERSION}
|
|
restart: unless-stopped
|
|
environment:
|
|
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}
|
|
- MARIADB_USER=${MARIADB_USER}
|
|
- MARIADB_PASSWORD=${MARIADB_PASSWORD}
|
|
- MARIADB_DATABASE=${MARIADB_DATABASE}
|
|
labels:
|
|
### Section Diun
|
|
- diun.enable=${DIUN_ENABLE}
|
|
- diun.watch_repo=${DIUN_WATCHREPO}
|
|
- diun.sort_tags=${DIUN_SORTALGO}
|
|
- diun.include_tags=${DIUN_INCLUDE}
|
|
- diun.exclude_tags=${DIUN_EXCLUDE}
|
|
ports:
|
|
- ${MARIADB_EXPOSE}:3306
|
|
volumes:
|
|
- ${MARIADB_DATA}:/var/lib/mysql
|