Advertisement
Guest User

Untitled

a guest
Mar 9th, 2017
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.36 KB | None | 0 0
  1. version: '3'
  2.  
  3. services:
  4.  
  5. bitbucket:
  6. image: atlassian/bitbucket-server:4.14
  7. hostname: bitbucket
  8. ports:
  9. - "7990:7990"
  10. volumes:
  11. - bitbucketVolume:/var/atlassian/application-data/bitbucket/
  12.  
  13. postgres:
  14. image: postgres:9.6.2-alpine
  15. hostname: postgres
  16. environment:
  17. - POSTGRES_USER=xxx
  18. - POSTGRES_PASSWORD=xxx
  19. - POSTGRES_DB=bitbucket
  20. ports:
  21. - "5432:5432"
  22. volumes:
  23. - postgresVolume:/var/lib/postgresql/data/
  24.  
  25. volumes:
  26. bitbucketVolume:
  27. postgresVolume:
  28.  
  29. -----------------------------------------------------------------------------------------------------------------------------
  30.  
  31. version: '3.1'
  32.  
  33. services:
  34.  
  35. bamboo:
  36. build:
  37. context: .
  38. dockerfile: Dockerfile
  39. args:
  40. bambooVersion: 5.15.0.1
  41. bambooHome: /home/bamboo/
  42. image: flane/atlassian/bamboo:5.15.0.1
  43. hostname: bamboo
  44. environment:
  45. - BAMBOO_HOME=/home/bamboo
  46. ports:
  47. - "8085:8085"
  48. volumes:
  49. - bambooVolume:/home/bamboo/
  50.  
  51. postgres:
  52. image: postgres:9.6.2-alpine
  53. hostname: postgres
  54. environment:
  55. - POSTGRES_USER=xxx
  56. - POSTGRES_PASSWORD=xxx
  57. - POSTGRES_DB=bamboo
  58. ports:
  59. - "5433:5432"
  60. volumes:
  61. - postgresVolume:/var/lib/postgresql/data/
  62.  
  63. volumes:
  64. bambooVolume:
  65. postgresVolume:
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement