Advertisement
Guest User

Untitled

a guest
Jun 21st, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.53 KB | None | 0 0
  1. version: "2.1"
  2. networks:
  3. aca:
  4. driver: bridge
  5.  
  6. services:
  7. search:
  8. image: wille/aca:elastic2
  9. container_name: elastic
  10. restart: unless-stopped
  11. user: elasticsearch
  12. networks:
  13. - aca
  14. ports:
  15. - "localhost:9200:9200"
  16. hostname: elastic
  17. volumes:
  18. - ./config/elastic/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:Z
  19. - ./config/elastic/logging.yml:/usr/share/elasticsearch/config/logging.yml:Z
  20. - ./data/elastic:/usr/share/elasticsearch/data:Z
  21. environment:
  22. - TZ=$TZ
  23. - ES_CLUSTER=$ES_CLUSTER
  24. - CB_USER=$CB_USER
  25. - CB_PASS=$CB_PASS
  26. db:
  27. image: couchbase:4.6.2
  28. container_name: couch
  29. restart: unless-stopped
  30. networks:
  31. - aca
  32. hostname: couch
  33. volumes:
  34. - ./data/couch:/opt/couchbase/var:Z
  35. environment:
  36. - TZ=$TZ
  37. - CB_USER=$CB_USER
  38. - CB_PASS=$CB_PASS
  39. app:
  40. image: wille/aca:engine2
  41. restart: unless-stopped
  42. container_name: engine
  43. networks:
  44. - aca
  45. hostname: engine
  46. depends_on:
  47. - db
  48. - search
  49. volumes:
  50. - ${ACA_DEVICE_MODULES}:/home/aca-apps/aca-device-modules:Z
  51. environment:
  52. - TZ=$TZ
  53. - ELASTIC=elastic
  54. - ELASTIC_INDEX=$ES_CLUSTER
  55. - COUCHBASE_HOST=couch
  56. - COUCHBASE_PASSWORD=$CB_PASS
  57. - UV_THREADPOOL_SIZE=32
  58. web:
  59. image: nginx:stable
  60. restart: unless-stopped
  61. networks:
  62. - aca
  63. ports:
  64. - "80:80"
  65. - "443:443"
  66. hostname: nginx
  67. depends_on:
  68. - app
  69. volumes:
  70. - ./config/nginx:/etc/nginx:ro
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement