appstore-1panel/apps/mariadb/10.11.4/docker-compose.yml
2023-07-13 15:34:02 +08:00

19 lines
403 B
YAML

version: '3'
services:
mariadb:
container_name: ${CONTAINER_NAME}
restart: always
networks:
- 1panel-network
image: "mariadb:10.11.4"
ports:
- ${PANEL_APP_PORT_HTTP}:3306
volumes:
- ./db/data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true