Created
December 25, 2023 21:38
-
-
Save dario61081/2b31429e4740f950abd91ab90494ca92 to your computer and use it in GitHub Desktop.
docker-compose para servidor mysql tz=-4
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3.3' | |
volumes: | |
database: | |
services: | |
database: | |
image: mysql/mysql-server:latest | |
container_name: database | |
command: --default-authentication-plugin=mysql_native_password --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci | |
restart: always | |
environment: | |
MYSQL_ROOT_HOST: '%' | |
MYSQL_ROOT_PASSWORD: root | |
MYSQL_DATABASE: mysql | |
TZ: "America/Asuncion" | |
ports: | |
- 3333:3306 | |
volumes: | |
- database:/var/lib/mysql |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment