Browse Source

Fix seednode dockerfile. Map .komodo and .zcash-params properly.

pass-iguana-arg
Artem Pikulin 7 years ago
parent
commit
da56b21769
  1. 2
      Dockerfile.seednode
  2. 8
      docker-compose.yml

2
Dockerfile.seednode

@ -3,7 +3,7 @@ USER root
RUN apt-get update && apt-get install -y rinetd curl libcurl3-gnutls
RUN echo "0.0.0.0 10271 10.100.0.1 10271" >> /etc/rinetd.conf
RUN echo "0.0.0.0 8923 10.100.0.1 8923" >> /etc/rinetd.conf
RUN useradd -ms /bin/bash jenkins
RUN useradd -u 111 jenkins
USER jenkins
WORKDIR /usr/mm/etomic_build/seed
CMD /usr/sbin/rinetd && rm -rf DB && ./run

8
docker-compose.yml

@ -5,8 +5,8 @@ services:
context: ./
dockerfile: Dockerfile.seednode
volumes:
- ~/.zcash-params:/root/.zcash-params
- ~/.komodo:/root/.komodo
- ~/.zcash-params:/home/jenkins/.zcash-params
- ~/.komodo:/home/jenkins/.komodo
- .:/usr/mm
tty: true
env_file:
@ -20,8 +20,8 @@ services:
context: ./
dockerfile: Dockerfile.clientnode
volumes:
- ~/.zcash-params:/root/.zcash-params
- ~/.komodo:/root/.komodo
- ~/.zcash-params:/home/jenkins/.zcash-params
- ~/.komodo:/home/jenkins/.komodo
- .:/usr/mm
links:
- seednode

Loading…
Cancel
Save