Created
April 20, 2023 22:18
-
-
Save gpilla/0af604c580b408713e274bf9ae4ed378 to your computer and use it in GitHub Desktop.
ejemplo de docker-compose mysql
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: '2' | |
services: | |
mysql: | |
image: mysql:latest | |
environment: | |
MYSQL_ROOT_PASSWORD: 'test_pass' # TODO: Change this | |
MYSQL_USER: 'test' | |
MYSQL_PASS: 'pass' | |
volumes: | |
- my-datavolume:/var/lib/mysql | |
volumes: | |
my-datavolume: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment