Skip to content

Instantly share code, notes, and snippets.

@maiquealmeida
Created December 2, 2019 21:58
Show Gist options
  • Save maiquealmeida/cc0f40eb8ffb7e1c32085a8babd0c990 to your computer and use it in GitHub Desktop.
Save maiquealmeida/cc0f40eb8ffb7e1c32085a8babd0c990 to your computer and use it in GitHub Desktop.
Servidor MySQL5 e Redis com docker-compose v3
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=dbname
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