Skip to content

Instantly share code, notes, and snippets.

@ajai8085
Created February 3, 2018 12:58
Show Gist options
  • Save ajai8085/294ce4705d3ff35969b2ee8b94e95baa to your computer and use it in GitHub Desktop.
Save ajai8085/294ce4705d3ff35969b2ee8b94e95baa to your computer and use it in GitHub Desktop.
Docker compos with redis - postgres sql
# Use postgres/example user/password credentials
version: '3.1'
services:
db:
image: postgres:9.6.6
ports:
- "5432:5432"
restart: always
environment:
POSTGRES_PASSWORD: password
adminer:
image: adminer
restart: always
ports:
- 8080:8080
redis:
image: redis:3.2.11
ports:
- "6379:6379"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment