Created
February 3, 2018 12:58
-
-
Save ajai8085/294ce4705d3ff35969b2ee8b94e95baa to your computer and use it in GitHub Desktop.
Docker compos with redis - postgres sql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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