Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Rethink DB command #5156

Merged
merged 2 commits into from
Nov 10, 2017
Merged

Update Rethink DB command #5156

merged 2 commits into from
Nov 10, 2017

Conversation

johndmulhausen
Copy link

Fixes #1426

@johndmulhausen
Copy link
Author

cc @mbentley

Copy link
Contributor

@joaofnfernandes joaofnfernandes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should publicly document containers that are in an individual contributor's namespace. Can we check if there's a ucp/rethinkdb, or some sort of official image that we know is maintained and shipped with each version?

Copy link

@JimGalasyn JimGalasyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That's quite a beefy command line!

@johndmulhausen
Copy link
Author

@joaofnfernandes We're already doing that now with this example via Sven's image, unfortunately.

Can you or @mbentley test this using the official rethinkdb image? https://docs.docker.com/samples/library/rethinkdb/

@mbentley
Copy link
Contributor

Checking. Lines 51 & 52 aren't required and are for an older load balancing solution.

This command using the official image appears to work fine:

REPLICA_ID=""
docker run \
  --rm \
  --net dtr-ol \
  --name db-proxy \
  -v dtr-ca-$REPLICA_ID:/ca \
  -p 9999:8080 \
  rethinkdb:2.3 \
    rethinkdb \
      proxy \
      --bind all \
      --canonical-address db-proxy \
      --driver-tls-key /ca/rethink/key.pem \
      --driver-tls-cert /ca/rethink/cert.pem \
      --driver-tls-ca /ca/rethink/cert.pem \
      --cluster-tls-key /ca/rethink/key.pem \
      --cluster-tls-cert /ca/rethink/cert.pem \
      --cluster-tls-ca /ca/rethink/cert.pem \
      --join dtr-rethinkdb-$REPLICA_ID.dtr-ol

screenshot 2017-10-31 at 1 54 31 pm

@joaofnfernandes joaofnfernandes self-assigned this Nov 10, 2017
@joaofnfernandes joaofnfernandes merged commit a24372d into master Nov 10, 2017
@johndmulhausen johndmulhausen deleted the johndmulhausen-patch-1 branch December 18, 2017 23:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants