appstore-1panel/apps/mariadb/versions/10.9.5/docker-compose.yml

18 lines
367 B
YAML
Raw Normal View History

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