appstore-1panel/appstore/mariadb/11.6.2/docker-compose.yml
2024-11-28 09:03:16 +00:00

21 lines
424 B
YAML

networks:
1panel-network:
external: true
services:
mariadb:
container_name: mariadb
env_file:
- ./envs/global.env
- .env
image: mariadb:11.6.2
labels:
createdBy: Apps
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3306
restart: always
volumes:
- ${MARIADB_ROOT_PATH}/data:/var/lib/mysql
- ${MARIADB_ROOT_PATH}/config/my.cnf:/etc/mysql/my.cnf