youtubebeat/vendor/github.com/elastic/beats/metricbeat/module/couchbase/_meta/Dockerfile

6 lines
248 B
Docker

FROM couchbase:4.5.1
HEALTHCHECK --interval=1s --retries=90 CMD [ "$(curl -s -o /dev/null -w ''%{http_code}'' http://localhost:8091/pools/default/buckets)" -eq "200" ]
COPY configure-node.sh /opt/couchbase
CMD ["/opt/couchbase/configure-node.sh"]