Skip to content

Instantly share code, notes, and snippets.

@maiquealmeida
Last active October 24, 2019 21:00
Show Gist options
  • Save maiquealmeida/79f5271e155cee91feeb20cc0174d867 to your computer and use it in GitHub Desktop.
Save maiquealmeida/79f5271e155cee91feeb20cc0174d867 to your computer and use it in GitHub Desktop.
Arquivo docker-compose para banco MySQL e Redis em ambiente dev
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=database
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