docker run -it --rm --env MOXI_CLUSTER_CFG=url=http://couchbase:8091/pools/default/bucketsStreaming/default aboutme/moxi:2.5.0
Set MOXI_CLUSTER_CONFIG to your Couchbase URLs and you're set. Other ENV vars are available as seen below.
FROM ubuntu:12.04
RUN apt-get update && apt-get install -y wget librtmp0
RUN wget http://packages.couchbase.com/releases/2.5.0/moxi-server_2.5.0_x86_64.deb
RUN dpkg -i moxi-server_2.5.0_x86_64.deb
EXPOSE 11211
ENV MOXI_CFG port_listen=11211,default_bucket_name=default,downstream_max=1024,downstream_conn_max=4,connect_max_errors=5,connect_retry_interval=30000,connect_timeout=400,auth_timeout=100,cycle=200,downstream_conn_queue_timeout=200,downstream_timeout=5000,wait_queue_timeout=200
ENV MOXI_CLUSTER_CFG url=http://localhost:8091/pools/default/bucketsStreaming/defaul
ENV MOXI_VERBOSE -v
ENV MOXI_USER moxi
CMD /opt/moxi/bin/moxi $MOXI_VERBOSE -z $MOXI_CLUSTER_CFG -Z $MOXI_CFG -u $MOXI_USER
Content type
Image
Digest
sha256:cb839de39…
Size
78.2 MB
Last updated
about 11 years ago
docker pull aboutme/moxi:2.5.0