{"id":19607155,"url":"https://github.com/robocorp/robocorp-docker-manager","last_synced_at":"2025-02-26T16:44:45.050Z","repository":{"id":166408642,"uuid":"641493172","full_name":"robocorp/robocorp-docker-manager","owner":"robocorp","description":null,"archived":false,"fork":false,"pushed_at":"2023-11-07T09:52:08.000Z","size":9,"stargazers_count":4,"open_issues_count":1,"forks_count":1,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-01-09T09:26:40.483Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robocorp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-05-16T15:25:07.000Z","updated_at":"2024-04-25T16:51:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"83073c7c-017c-4c24-8777-fd0f2b01e287","html_url":"https://github.com/robocorp/robocorp-docker-manager","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/robocorp%2Frobocorp-docker-manager","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Frobocorp-docker-manager/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Frobocorp-docker-manager/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robocorp%2Frobocorp-docker-manager/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robocorp","download_url":"https://codeload.github.com/robocorp/robocorp-docker-manager/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240895112,"owners_count":19874927,"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":"2024-11-11T10:09:07.479Z","updated_at":"2025-02-26T16:44:45.028Z","avatar_url":"https://github.com/robocorp.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Robocorp Docker Manager\n\nThis Bash script provides a convenient way to manage multiple Robocorp Workers inside Docker container. It also allows you to easily control the number of replicas, to have multiple workers running under the same Worker Group.\n\n## Prerequisites\n\n- Bash (a POSIX-compliant shell)\n- Docker Engine\n- Docker Compose\n\nIf using Debian we suggest following the official Docker installation guide: https://docs.docker.com/engine/install/debian/\n\n## Setup and Usage\n\n1. Clone the repository\n\n2. If the file permissions were not preserved, make sure the required scripts are marked as executables:\n\n    ```shell\n    chmod +x robocorp-docker.sh docker/start.sh\n    ```\n\n4. Create a file named `token.txt` and add the Robocorp Link Token inside it. You will need to use a Worker Group link token: https://robocorp.com/docs/control-room/unattended/worker-setups/groups\n\n5. Run the script with the desired command:\n\n    ```shell\n    ./robocorp-docker.sh [command] [arguments]\n    ```\n\n    Be careful that your user has access to run Docker commands, otherwhise you will need to run the commands with `sudo` before them.\n\n    Replace `[command]` with one of the following commands:\n    - `start`: Start the application. Optionally, you can specify the number of replicas as an argument (defaults to 1 if not provided).\n    - `stop`: Stop the application.\n    - `status`: Show the status of the application.\n    - `build`: Build the Docker container first, so the start command will be executed faster.\n    - `logs`: Get the logs from inside the Docker container\n\n    If using the `start` command, you can specify the number of replicas as an argument:\n\n    ```shell\n    ./robocorp-docker.sh start 3\n    ```\n\n    This will start three replicas of the Docker container.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocorp%2Frobocorp-docker-manager","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobocorp%2Frobocorp-docker-manager","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobocorp%2Frobocorp-docker-manager/lists"}