mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-12-05 12:22:21 +08:00
21 lines
424 B
YAML
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
|