appstore-1panel/apps/mysql/5.7.44/docker-compose.yml
renovate[bot] 8466ebc57e
chore(deps): update mysql docker tag to v5.7.44 (#531)
* chore(deps): update mysql docker tag to v5.7.44

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2023-10-27 10:24:37 +08:00

29 lines
716 B
YAML

version: '3'
services:
mysql:
image: mysql:5.7.44
container_name: ${CONTAINER_NAME}
restart: always
environment:
MYSQL_ROOT_PASSWORD: ${PANEL_DB_ROOT_PASSWORD}
networks:
- 1panel-network
ports:
- ${PANEL_APP_PORT_HTTP}:3306
volumes:
- ./data/:/var/lib/mysql
- ./conf/my.cnf:/etc/mysql/my.cnf
- ./log:/var/log/mysql
- /etc/timezone:/etc/timezone:ro
- /etc/localtime:/etc/localtime:ro
command:
--character-set-server=utf8mb4
--collation-server=utf8mb4_general_ci
--explicit_defaults_for_timestamp=true
--lower_case_table_names=1
labels:
createdBy: "Apps"
networks:
1panel-network:
external: true