Skip to content

Instantly share code, notes, and snippets.

@gokulnath
Last active June 7, 2019 12:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save gokulnath/489369e9eabe8662f522cd1a16e09e26 to your computer and use it in GitHub Desktop.
Save gokulnath/489369e9eabe8662f522cd1a16e09e26 to your computer and use it in GitHub Desktop.
version: "2"
services:
redis:
image: redis
ports:
- "6379:6379"
restart: always
postgres:
image: postgres:9.6
ports:
- "5432:5432"
volumes:
- /home/gokulnath/root/work/docker/data/pg_data:/var/lib/postgresql/data
environment:
- POSTGRES_PASSWORD=postgres
- POSTGRES_USER=postgres
restart: always
@vishrayne
Copy link

vishrayne commented Jun 7, 2019

You are awesome!
Truly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment