Advertisement
Guest User

Untitled

a guest
Jul 12th, 2019
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.45 KB | None | 0 0
  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
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement