Page MenuHomeDevCentral

Deploy a MongoDB container
Closed, WontfixPublic

Description

Name: mercatorial

Event Timeline

Sandlayth created this task.Feb 13 2016, 22:45
dereckson updated the task description. (Show Details)Feb 14 2016, 00:18
dereckson added a comment.EditedFeb 14 2016, 00:28

We would need something like:

/usr/local/bin/mongo-mercatorial-client
#!/bin/sh
#
# Runs a MongoDB client, attached to mercatorial instance

INSTANCE=mercatorial

if [ -z "$1" ]; then
    DB=test
else
    DB=$1
fi

docker run -it --rm --link $INSTANCE:mongo mongo sh -c 'exec mongo "$MONGO_PORT_27017_TCP_ADDR:$MONGO_PORT_27017_TCP_PORT/$DB"'

But it must be escaped properly to have a subtitution for $DB.

Done, but autocompletion still to do for mongo-mercatorial-client.

Sandlayth closed this task as Wontfix.May 27 2016, 22:48
Sandlayth reopened this task as Open.May 27 2016, 23:13
dereckson removed Sandlayth as the assignee of this task.Mar 8 2018, 21:11

[ Mass switching long-time assigned tasks to user projects dashboards instead. ]

dereckson closed this task as Wontfix.Oct 30 2018, 19:05
dereckson claimed this task.

With T727 closed, we don't currently have service requiring a shared MongoDB instance.

Obsidian needs one (but can use other datastores too), but, well, it would be a dedicated one like a obsidian_db container.