Skip to content

Instantly share code, notes, and snippets.

@Kevnz
Created October 24, 2018 23:16
Show Gist options
  • Save Kevnz/ea618acd2fed8ae47c4a766736dccf87 to your computer and use it in GitHub Desktop.
Save Kevnz/ea618acd2fed8ae47c4a766736dccf87 to your computer and use it in GitHub Desktop.
All The Dockers
version: '3'
services:
pgdb:
image: postgres:9.6.6-alpine
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: user_password
ports:
- "5432:5432"
redis:
image: redis:4
ports:
- "6379:6379"
neo4j:
image: neo4j:3.4
environment:
NEO4J_AUTH: none
ports:
- "7474:7474"
- "7687:7687"
mongodb:
image: mongo:3.6
ports:
- "27017:27017"
mysql:
image: mysql:5.6
command: --default-authentication-plugin=mysql_native_password
restart: always
environment:
MYSQL_ROOT_PASSWORD: 1password
MYSQL_USER: database_user
MYSQL_PASSWORD: database_user_password
MYSQL_DATABASE: mydb
ports:
- "3306:3306"
docker-compose up pgdb
docker-compose up redis
docker-compose up mongodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment