{"id":19439054,"url":"https://github.com/danwild/set-connection-options","last_synced_at":"2025-04-24T22:32:21.382Z","repository":{"id":47446156,"uuid":"106477826","full_name":"danwild/set-connection-options","owner":"danwild","description":"Meteor set additional mongo connection settings (e.g. sslCert) via $MONGO_CONNECTION_OPTIONS","archived":false,"fork":false,"pushed_at":"2021-09-07T14:58:26.000Z","size":5,"stargazers_count":2,"open_issues_count":1,"forks_count":8,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-03T12:11:56.821Z","etag":null,"topics":["meteor","meteor-package","meteorjs","mongo","ssl","ssl-certificate","ssl-support"],"latest_commit_sha":null,"homepage":"https://atmospherejs.com/danwild/set-connection-options","language":"JavaScript","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/danwild.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":"2017-10-10T22:22:43.000Z","updated_at":"2020-04-02T08:58:11.000Z","dependencies_parsed_at":"2022-08-17T14:45:59.514Z","dependency_job_id":null,"html_url":"https://github.com/danwild/set-connection-options","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/danwild%2Fset-connection-options","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danwild%2Fset-connection-options/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danwild%2Fset-connection-options/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danwild%2Fset-connection-options/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danwild","download_url":"https://codeload.github.com/danwild/set-connection-options/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250719775,"owners_count":21476135,"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":["meteor","meteor-package","meteorjs","mongo","ssl","ssl-certificate","ssl-support"],"created_at":"2024-11-10T15:20:56.241Z","updated_at":"2025-04-24T22:32:21.160Z","avatar_url":"https://github.com/danwild.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# danwild:set-connection-options\n\nSimple Meteor Atmosphere Package to allow you to pass in additional \n[connection settings](http://mongodb.github.io/node-mongodb-native/2.1/reference/connecting/connection-settings/)\n to Mongo that are not supported by the\n[URI Connection String](https://docs.mongodb.org/manual/reference/connection-string/) format.\n\ni.e. You can set useful things like `ssl`, `sslCA`, `sslCert`, `connectTimeoutMS`, `authSource` etc.\n\n## Notes \n\n* Requires Meteor v1.4+, it uses the \n[Mongo.setConnectionOptions](https://github.com/meteor/meteor/pull/7277) method (thanks [@dburles](https://github.com/dburles))\n\n## Use\n\n1. `meteor add danwild:set-connection-options`\n2. Open your `.meteor/packages` file, and place `danwild:set-connection-options` at the top of the package list \n(to ensure connection options are set prior to other packages using Mongo). \n3. Simply pass your settings to the env var `MONGO_CONNECTION_SETTINGS`, e.g.\n \n```shell\n export MONGO_CONNECTION_OPTIONS='{ \"foo\": \"bar\" }\n```\n\nIf the env var is not set on startup, the package does nothing.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwild%2Fset-connection-options","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanwild%2Fset-connection-options","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanwild%2Fset-connection-options/lists"}