SHARE
TWEET

Untitled

a guest Jul 12th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. version: '3'
  2. services:
  3.   db:
  4.     image: postgres:10.4-alpine
  5.     ports:
  6.     - 5432:5432
  7.     volumes:
  8.     - postgres:/var/lib/postgresql/data
  9.   redis:
  10.     image: redis:4.0-alpine
  11.     ports:
  12.     - 6379:6379
  13.     volumes:
  14.     - redis:/usr/local/etc/redis/redis.conf
  15.     - redis-data:/data
  16. volumes:
  17.   postgres:
  18.   redis:
  19.   redis-data:
  20.  
  21. # volumes
  22. #  postgres:
  23. #    driver: local
  24. #    driver_opts:
  25. #      type: none
  26. #      device: <path to postgres data>
  27. #      o: bind
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top