proximax-storage / sirius-storage-mainnet-onboarding

How to install and run Sirius Storage
Apache License 2.0
3 stars 3 forks source link

SRN: Path of the storage location #10

Open Sateetje opened 3 years ago

Sateetje commented 3 years ago

What is the default path of the storage location when using Docker?

Where can I change the default path?

shinneng commented 3 years ago
version: "3.6"
services:
  replicator:
    image: proximax/dfms-replicator:v0.8.1
    ports:
      - 6466:6466
      - 64666:64666
    volumes:
      - ./:/root/.dfms-replicator:rw
    restart: on-failure:3
    entrypoint: /usr/bin/dfms-replicator

the docker-compose mounts the current path as per line - ./:/root/.dfms-replicator:rw.

e.g. if you want to mount /mnt/replicator/, then you can change as following - /mnt/replicator/:/root/.dfms-replicator:rw