-
-
Save maiquealmeida/79f5271e155cee91feeb20cc0174d867 to your computer and use it in GitHub Desktop.
Arquivo docker-compose para banco MySQL e Redis em ambiente dev
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
MYSQL_ROOT_PASSWORD=root | |
MYSQL_DATABASE=database |
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' | |
services: | |
db: | |
image: mysql:5 | |
restart: always | |
environment: | |
- MYSQL_ROOT_PASSWORD | |
- MYSQL_DATABASE | |
ports: | |
- 3306:3306 | |
redis: | |
image: redis:alpine |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment