Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Docker documentation #1374

Closed
agilob opened this issue Jan 5, 2019 · 5 comments
Closed

Docker documentation #1374

agilob opened this issue Jan 5, 2019 · 5 comments

Comments

@agilob
Copy link

agilob commented Jan 5, 2019

Could you please add documentation how to use docker server? https://hub.docker.com/r/openbazaar/server

Which port do I need to expose, do I need any volumes added?

@placer14
Copy link
Member

placer14 commented Jan 5, 2019

Sorry about that. I'll see that some docs get added. To answer your questions:
Exposing ports 4001, 4002, and 9005 should be enough.
Vollumes are not required, but /var/lib/openbazaar is used for storing your configuration and state. You can mount an external config to that path if you wish to keep that outside of the running container.

(I recommend staying away from the beta image.)

@rastislavcore
Copy link

Documentation will be very helpful. Please.
I try to connect to DigitalOcean, but what is default username and password?
Where I can find/define/change it?

@bill-mcgonigle
Copy link

I'm getting this straightened out in my Puppet class for ob too. Is this right?

4002 - OB client RPC
4001 - OB IPFS data/swarm
9005 - OB IPFS control/websockets

@tyler-smith
Copy link
Member

@bill-mcgonigle The 4002 is HTTP RPC (just to be explicit). 4001 and 9005 are essentially the same protocol but over different transports. Raw TCP (4001) and websockets (9005).

@tyler-smith
Copy link
Member

@Raisty There is no default username/password. You have to set it in your config file.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants