-
Notifications
You must be signed in to change notification settings - Fork 32
Docker things I noticed trying to run my own dat registry #628
base: master
Are you sure you want to change the base?
Docker things I noticed trying to run my own dat registry #628
Conversation
Signed-off-by: Sven Dowideit <sven.dowideit@csiro.au>
a47fde8
to
193dcd5
Compare
mmm, or another failure trying to register (with nothing in the container log output):
|
The resulting web site is obviously the datbase.org one - so I'll need to customise - but at this point, I really just want to get started.. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! A few changes/questions.
- 25:25 | ||
expose: | ||
- 80 | ||
- 8888:80 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why 8888 here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah - no good reason I guess
@@ -55,7 +55,6 @@ | |||
"devDependencies": { | |||
"dat-node": "^3.5.0", | |||
"marked": "^0.3.6", | |||
"nodemon": "^1.10.0", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we'd like to keep this in devDependencies b/c its pretty big dependency. Why do you want to move it?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved it entirely because the existing Dockerfile and docker image (with the CMD as is) fail to start without it.
@@ -0,0 +1,41 @@ | |||
version: '3.4' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you give a tldr on this file or how to use it (maybe add to readme)? Not familiar with docker-swarm.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yup
so this has a bunch of things:
docker-swarm-yml
, which should go some way to showing how you could run datBase in production.however, it doesn't work - i can't run
dat register
ordat login
against it - both fail withcannot POST to /register
(or/publish/login
)I can register a new user via the web UI.
I presume I need to set something else up?
@joehand
I also get
in the logs - which is :/