mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-29 11:26:13 +08:00
19 lines
430 B
YAML
19 lines
430 B
YAML
services:
|
|
mariadb:
|
|
container_name: ${CONTAINER_NAME}
|
|
restart: always
|
|
networks:
|
|
- 1panel-network
|
|
image: "mariadb:10.11.7"
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:3306
|
|
volumes:
|
|
- ./db/data:/var/lib/mysql
|
|
- ./conf/my.cnf:/etc/mysql/my.cnf
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
|
|
labels:
|
|
createdBy: "Apps"
|
|
networks:
|
|
1panel-network:
|
|
external: true |