Public Repository

Last pushed: a year ago
Short Description
Hammering my head around to make an easy openbazaar-server installation
Full Description

Docker command:

sudo docker run -t -i -p 18466-18470:18466-18470/tcp hax10r88/openbazaar-server

You should connect to it by using username/password: user/pass

Dockerfile in use:

FROM ubuntu:14.04

# Examples
# docker build -t observer .
# docker run --rm -it -e flags="--help" observer
# docker run -d --name observer -e flags="--testnet" observer
# docker logs observer

RUN apt-get update
RUN apt-get install -y python-dev python-pip build-essential git libffi-dev libssl-dev
RUN pip install pyopenssl ndg-httpsclient pyasn1
RUN pip install --upgrade pip virtualenv
RUN git clone https://github.com/OpenBazaar/OpenBazaar-Server.git
WORKDIR /OpenBazaar-Server/
RUN pip install -r requirements.txt && pip install -r test_requirements.txt
RUN make
RUN adduser --disabled-password --gecos \"\" openbazaar
RUN chown -R openbazaar:openbazaar /OpenBazaar-Server
RUN mkdir /home/openbazaar/.openbazaar
RUN chown -R openbazaar:openbazaar /home/openbazaar/.openbazaar

USER openbazaar
# customize your OpenBazaar server access
RUN sed -i -- 's/#USERNAME = username/USERNAME = user/g' ob.cfg
RUN sed -i -- 's/#PASSWORD = password/PASSWORD = pass/g' ob.cfg

EXPOSE 18469/udp 18466 18469 18470

CMD python openbazaard.py start -l debug -a 0.0.0.0 $flags

Interesting HOWTO: this https://slack-files.com/T02FPGBKB-F0KJU1CLX-cbbcf8a02c

Docker Pull Command
Owner
hax10r88

Comments (0)