Skip to content

Instantly share code, notes, and snippets.

@maiquealmeida
Created September 19, 2019 12:53
Show Gist options
  • Save maiquealmeida/acc67fa2d85fd9d3a8500190ef51185d to your computer and use it in GitHub Desktop.
Save maiquealmeida/acc67fa2d85fd9d3a8500190ef51185d to your computer and use it in GitHub Desktop.
Docker Compose file for up a MySQL dabatase environment and RedisDB
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=database_name
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