{"id":23814478,"url":"https://github.com/stuartpb/dokku-rethinkdb-plugin","last_synced_at":"2025-09-06T23:31:57.796Z","repository":{"id":13936808,"uuid":"16636520","full_name":"stuartpb/dokku-rethinkdb-plugin","owner":"stuartpb","description":"RethinkDB plugin for Dokku","archived":false,"fork":false,"pushed_at":"2015-07-21T20:35:15.000Z","size":365,"stargazers_count":34,"open_issues_count":5,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-09T22:14:40.337Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/stuartpb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-08T05:09:27.000Z","updated_at":"2024-04-09T22:14:40.338Z","dependencies_parsed_at":"2022-09-01T05:24:18.591Z","dependency_job_id":null,"html_url":"https://github.com/stuartpb/dokku-rethinkdb-plugin","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartpb%2Fdokku-rethinkdb-plugin","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartpb%2Fdokku-rethinkdb-plugin/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartpb%2Fdokku-rethinkdb-plugin/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stuartpb%2Fdokku-rethinkdb-plugin/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stuartpb","download_url":"https://codeload.github.com/stuartpb/dokku-rethinkdb-plugin/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232149972,"owners_count":18479564,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-01-02T03:47:47.243Z","updated_at":"2025-01-02T03:47:47.822Z","avatar_url":"https://github.com/stuartpb.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# dokku-rethinkdb-plugin\n\nThis project provides a plugin for [Dokku][] to create linked [RethinkDB][]\ncontainers for apps.\n\n[Dokku]: https://github.com/progrium/dokku\n[RethinkDB]: http://www.rethinkdb.com/\n\n## Features\n\n- **No dependencies** (other than a recent development version of Dokku.)\n  *Wow!*\n- **Deletes cleanly with apps.** *Oh my!*\n- **Survives reboots, cleanups, and redeploys.** *Holy cow!*\n- **Can add before or after pushing an app.** *Am I dreaming?*\n- **Allows access to admin ports through binding to host interfaces.** *Is this\n  real life?*\n\n![Vince McMahon reacts to dokku-rethinkdb-plugin](http://i.imgur.com/ef28TQS.gif)\n\n**dokku-rethinkdb-plugin**: The [Gary Strydom][] of Dokku datastore plugins.\n\n[Gary Strydom]: http://forum.bodybuilding.com/showthread.php?t=157841203\u0026s=714b6c7c5685fc9feb106e0680a2fa1e\u0026p=1155029043\u0026viewfull=1#post1155029043\n\n## Installation\n\n```bash\ncd /var/lib/dokku/plugins\ngit clone https://github.com/stuartpb/dokku-rethinkdb-plugin rethinkdb\ndokku plugins-install\n```\n\n## Simple usage\n\nCreate a new container for a named app:\n\n```\n$ dokku rethinkdb:create foo # or \"ssh dokku@server -t\" client-side\n\n-----\u003e Creating new container: rethinkdb/foo\n```\n\nDeploy an app to that name (client side):\n\n```\n$ git remote add dokku dokku@server:foo\n$ git push dokku master\nCounting objects: 155, done.\nDelta compression using up to 4 threads.\nCompressing objects: 100% (70/70), done.\nWriting objects: 100% (155/155), 22.44 KiB | 0 bytes/s, done.\nTotal 155 (delta 92), reused 131 (delta 80)\nremote: -----\u003e Building foo ...\nremote:        Ruby/Rack app detected\nremote: -----\u003e Using Ruby version: ruby-2.0.0\n\n... blah blah blah ...\n\nremote: -----\u003e Deploying foo ...\nremote: -----\u003e Starting linked container rethinkdb_foo ...\nremote:        Container ID: 99797e35d7b9\nremote:        Container IP: 172.16.0.104\nremote: -----\u003e Deploy complete!\nremote: -----\u003e Cleaning up ...\nremote: -----\u003e Cleanup complete!\nremote: =====\u003e Application deployed:\nremote:        http://foo.server\n```\n\nThese steps can be done in either order - if an app has been pushed to the\nserver, \"rethinkdb:create\" will re-deploy it with the RethinkDB container\nlinked.\n\nThe container will be exposed in the config/app environment as `RETHINKDB_HOST`\nand `RETHINKDB_PORT`, as well as `RDB_HOST` and `RDB_PORT` (the names used by\nthe RethinkDB example apps).\n\n## Advanced usage\n\n*All of these commands are detailed when running `dokku help`.*\n\nBind a port on the host to the Web Admin UI for a RethinkDB container:\n\n```\ndokku rethinkdb:bind-webui \u003capp\u003e [host port]\n```\n\nBind a port on the host to the cluster port (as used by the RethinkDB CLI) for\na RethinkDB container:\n\n```\ndokku rethinkdb:bind-cluster \u003capp\u003e [host port]\n```\n\nRelease a RethinkDB container's bindings to host ports (does not affect links\nto the associated app):\n\n```\ndokku rethinkdb:unbind \u003capp\u003e\n```\n\nUnlink and delete the RethinkDB container and data for an app:\n\n```\ndokku rethinkdb:delete \u003capp\u003e\n```\n\nRead app RethinkDB container logs:\n\n```\ndokku rethinkdb:logs \u003capp\u003e\n```\n\nGet RethinkDB container ID, IP, and any bound ports:\n\n```\ndokku rethinkdb:info \u003capp\u003e\n```\n\n(Re)start a RethinkDB container independently of a running app:\n\n```\ndokku rethinkdb:start \u003capp\u003e\n```\n\nStop an app's running RethinkDB container:\n\n```\ndokku rethinkdb:stop \u003capp\u003e\n```\n\n(Re)set environment variables to direct to a linked RethinkDB container:\n\n```\ndokku rethinkdb:link \u003capp\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartpb%2Fdokku-rethinkdb-plugin","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstuartpb%2Fdokku-rethinkdb-plugin","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstuartpb%2Fdokku-rethinkdb-plugin/lists"}