{"id":24553737,"url":"https://github.com/holmars/leider","last_synced_at":"2025-04-16T00:19:30.944Z","repository":{"id":62575525,"uuid":"84004279","full_name":"holmars/leider","owner":"holmars","description":"Manages services in Docker for all your local apps","archived":false,"fork":false,"pushed_at":"2020-07-17T16:02:20.000Z","size":16,"stargazers_count":2,"open_issues_count":4,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-29T03:11:43.752Z","etag":null,"topics":["12-factor-app","docker","heroku","memcached","postgresql","rabbitmq","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","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/holmars.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.txt","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-03-05T21:42:14.000Z","updated_at":"2020-07-17T16:02:23.000Z","dependencies_parsed_at":"2022-11-03T20:10:49.584Z","dependency_job_id":null,"html_url":"https://github.com/holmars/leider","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holmars%2Fleider","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holmars%2Fleider/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holmars%2Fleider/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/holmars%2Fleider/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/holmars","download_url":"https://codeload.github.com/holmars/leider/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003998,"owners_count":21196793,"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":["12-factor-app","docker","heroku","memcached","postgresql","rabbitmq","redis"],"created_at":"2025-01-23T02:15:04.822Z","updated_at":"2025-04-16T00:19:30.907Z","avatar_url":"https://github.com/holmars.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Leider\n\nA cli to manage services for apps in `Docker` for local development.\n\n### Services\n\n**PostgreSQL**, **Redis**, **Memcached** and **RabbitMQ**.\n\n### Features\n\n- Manages services in `Docker`.\n- Exports connection URLs for your app.\n\n### What is this good for?\n\n- You don't have a Dockerized app (so `docker-compose` is not an option). Think `Heroku`, etc.\n- You have some apps that need older versions of `PostgreSQL`, etc.\n\n## Installation\n\n```\n$ pip install leider\n```\n\nor\n\n```\n$ pipx install leider\n```\n\n## Usage\n\nCreate a `leider.yaml` in your app home. Example:\n\n```\n$ cat leider.yaml\ndb:\n  image: postgres:9.6-alpine\ncache:\n  image: redis:3.0-alpine\nqueue:\n  image: rabbitmq:3-alpine\n```\n\nNow you can start using the `Leider` cli.\n\n```\n$ leider\nUsage: leider [OPTIONS] COMMAND [ARGS]...\n\n  Leider manages services in Docker for all your local apps.\n\nOptions:\n  --version  Show the version and exit.\n  --help     Show this message and exit.\n\nCommands:\n  down    Stops all or provided services.\n  reset   Reset all or provided services.\n  status  Prints out the status of all services.\n  up      Starts all or provided services.\n```\n\n\n### Examples\n\n```\n$ leider up db cache queue\ndb: postgresql://leider-test:55df62e4e40da94a@localhost:32818/leider-test\ncache: redis://localhost:32819/0\nqueue: amqp://leider-test:a212aa7457bfdcb4@localhost:32821/leider-test\n\n$ leider status\ndb: running\ncache: running\nqueue: running\n\n$ leider down\ndb: exited\ncache: exited\nqueue: exited\n```\n\n### Advanced\n\n`Leider` keeps track of the `Docker` containers by storing a `yaml` file for each app in `~/.leider`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholmars%2Fleider","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fholmars%2Fleider","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fholmars%2Fleider/lists"}