2
0
mirror of https://github.com/acepanel/templates.git synced 2026-02-04 06:17:13 +08:00
Files
templates/mariadb/docker-compose.yml
renovate[bot] 7fd8f6bcc8 chore(deps): update docker images (major) (#2)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2026-01-16 06:35:09 +08:00

18 lines
354 B
YAML

services:
mariadb:
image: mariadb:12.1.2
restart: always
networks:
- acepanel-network
ports:
- ${MARIADB_PORT}:3306
volumes:
- ./db/data:/var/lib/mysql
- ./conf/my.cnf:/etc/mysql/my.cnf
environment:
MYSQL_ROOT_PASSWORD: ${MARIADB_DB_ROOT_PASSWORD}
networks:
acepanel-network:
external: true