Guest User

Untitled

a guest
Nov 2nd, 2018
161
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.21 KB | None | 0 0
  1. version: '2'
  2.  
  3. services:
  4. jira:
  5. depends_on:
  6. - postgresql
  7. image: blacklabelops/jira
  8. networks:
  9. - jiranet
  10. volumes:
  11. - jiradata:/var/atlassian/jira
  12. ports:
  13. - '8082:8080'
  14. environment:
  15. - 'JIRA_DATABASE_URL=postgresql://atlassian_admin@postgresql/atlassian_db'
  16. - 'JIRA_DB_PASSWORD=TIRI-piri-v-jope-diri-321'
  17. - 'SETENV_JVM_MINIMUM_MEMORY=384m'
  18. - 'SETENV_JVM_MAXIMUM_MEMORY=1g'
  19. - 'JIRA_PROXY_NAME='
  20. - 'JIRA_PROXY_PORT='
  21. - 'JIRA_PROXY_SCHEME='
  22. logging:
  23. # limit logs retained on host to 25MB
  24. driver: "json-file"
  25. options:
  26. max-size: "500k"
  27. max-file: "50"
  28. labels:
  29. com.blacklabelops.description: "Atlassian Jira"
  30. com.blacklabelops.service: "jira"
  31.  
  32. confluence:
  33. depends_on:
  34. - postgresql
  35. image: blacklabelops/confluence
  36. container_name: confluence
  37. hostname: confluence
  38. networks:
  39. - confluencenet
  40. volumes:
  41. - confluencedata:/var/atlassian/confluence
  42. ports:
  43. - '8081:8090'
  44. environment:
  45. - 'CATALINA_OPTS= -Xms256m -Xmx1g'
  46. - 'CONFLUENCE_PROXY_NAME='
  47. - 'CONFLUENCE_PROXY_PORT='
  48. - 'CONFLUENCE_PROXY_SCHEME='
  49. - 'CONFLUENCE_DELAYED_START='
  50. labels:
  51. com.blacklabelops.description: "Atlassian Confluence"
  52. com.blacklabelops.service: "confluence"
  53.  
  54. postgresql:
  55. image: blacklabelops/postgres
  56. networks:
  57. - jiranet
  58. - confluencenet
  59. ports:
  60. - 5432:5432
  61. volumes:
  62. - postgresqldata:/var/lib/postgresql/data
  63. environment:
  64. - 'POSTGRES_USER=atlassian_admin'
  65. - 'POSTGRES_PASSWORD=TIRI-piri-v-jope-diri-321'
  66. - 'POSTGRES_DB=atlassian_db'
  67. - 'POSTGRES_ENCODING=UNICODE'
  68. - 'POSTGRES_COLLATE=C'
  69. - 'POSTGRES_COLLATE_TYPE=C'
  70. logging:
  71. # limit logs retained on host to 25MB
  72. driver: "json-file"
  73. options:
  74. max-size: "500k"
  75. max-file: "50"
  76. labels:
  77. com.blacklabelops.description: "PostgreSQL Database Server"
  78. com.blacklabelops.service: "postgresql"
  79.  
  80. volumes:
  81. confluencedata:
  82. external: false
  83. jiradata:
  84. external: false
  85. postgresqldata:
  86. external: false
  87.  
  88. networks:
  89. jiranet:
  90. driver: bridge
  91. confluencenet:
  92. driver: bridge
Add Comment
Please, Sign In to add comment