Skip to content

Instantly share code, notes, and snippets.

@janurag
Created January 11, 2019 06:12
Show Gist options
  • Save janurag/cb3f944525d9a6f4aa1b26ee0fb6eaf9 to your computer and use it in GitHub Desktop.
Save janurag/cb3f944525d9a6f4aa1b26ee0fb6eaf9 to your computer and use it in GitHub Desktop.
MySQL and Redis Compose
version: '3.5'
services:
mysql:
container_name: mysql-local
image: mysql:5.7
ports:
- "3306:3306"
environment:
MYSQL_ROOT_PASSWORD: <pass123>
networks:
- db-network
redis:
container_name: redis-local
image: redis
networks:
- db-network
networks:
db-network:
driver: bridge
name: db-net
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment