Advertisement
Guest User

Untitled

a guest
Dec 3rd, 2016
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.16 KB | None | 0 0
  1. version: '2'
  2. services:
  3.  
  4. # Application container
  5. php:
  6. build: .
  7. restart: unless-stopped
  8. volumes:
  9. - ./:/server/http
  10. ports:
  11. - "80:80"
  12. - "443:443"
  13. links:
  14. - postgres
  15. - mongodb
  16. - redis
  17. environment:
  18. DEBUG: 'true'
  19.  
  20. #go:
  21. #image: golang:1.7-alpine
  22. #ports:
  23. #- "80:8080"
  24. #links:
  25. #- postgres
  26. #- mongodb
  27. #- redis
  28. #environment:
  29. #DEBUG: 'true'
  30. #PORT: '8080'
  31.  
  32. postgres:
  33. image: onjin/alpine-postgres:9.5
  34. restart: unless-stopped
  35. ports:
  36. - "5432:5432"
  37. environment:
  38. LC_ALL: C.UTF-8
  39. POSTGRES_USER: hellofresh
  40. POSTGRES_PASSWORD: hellofresh
  41. POSTGRES_DB: hellofresh
  42.  
  43. mongodb:
  44. image: mvertes/alpine-mongo:3.2.3
  45. restart: unless-stopped
  46. ports:
  47. - "27017:27017"
  48.  
  49. redis:
  50. image: sickp/alpine-redis:3.2.2
  51. restart: unless-stopped
  52. ports:
  53. - "6379:6379"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement