{"id":19499792,"url":"https://github.com/apsl/docker-bareos-bat","last_synced_at":"2026-02-20T01:01:46.841Z","repository":{"id":66126977,"uuid":"149621087","full_name":"APSL/docker-bareos-bat","owner":"APSL","description":":whale2: Dockerized bareos-bat","archived":false,"fork":false,"pushed_at":"2018-12-11T11:55:28.000Z","size":2,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-26T02:49:35.345Z","etag":null,"topics":["bareos","bat","docker-bareos-bat"],"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/APSL.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,"zenodo":null}},"created_at":"2018-09-20T14:19:50.000Z","updated_at":"2018-12-11T12:08:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"bd45b5b8-7f5e-4a17-b995-0c75ccaf0522","html_url":"https://github.com/APSL/docker-bareos-bat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/APSL/docker-bareos-bat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fdocker-bareos-bat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fdocker-bareos-bat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fdocker-bareos-bat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fdocker-bareos-bat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/APSL","download_url":"https://codeload.github.com/APSL/docker-bareos-bat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/APSL%2Fdocker-bareos-bat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29637916,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-19T22:32:43.237Z","status":"ssl_error","status_checked_at":"2026-02-19T22:32:38.330Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["bareos","bat","docker-bareos-bat"],"created_at":"2024-11-10T22:06:18.907Z","updated_at":"2026-02-20T01:01:46.818Z","avatar_url":"https://github.com/APSL.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-bareos-bat\n\nA Dockerized version of bareos-bat. \n\n---\n\n## Requirements\n\n* [Docker](https://www.docker.com/)\n* [Docker-compose](https://docs.docker.com/compose/) (optional)\n\nIf you don't have Docker installed, please follow this [guide](https://docs.docker.com/install/linux/docker-ce/ubuntu/)\n\n## Usage\n\n* **Makefile** : \n    * **build** : Builds the image locally\n        ```\n        make build\n        ```        \n    * **pull** : Pulls the image from remote repository\n        ```\n        make pull\n        ```\n    * **run** : Run the containerized app\n        ```\n        make run\n        ```\n\n* **Docker-compose** :  \n\n    If you want to run the app with Docker-Compose run this command at the repository directory : \n    ```\n    docker-compose up\n    ```\n\n    If you want to build the image with Docker-compose, please uncomment the line #build at *docker-compose.yml* :  \n    ```\n    bareos-bat:\n        #build: . \n        image: apsl/bareos-bat\n    ```\n\n## Configuration files\nPlace all your configuration files at : ```/etc/bareos/``` your local directory will be mounted to the container.\n\n## Installation\n\nTo make the launch process quicker, we can create a script and launch it with a single command.\n\nIn this example, we are going to create an script into ``` ~/.local/bin``` directory.\n\nLet's start!.\n\n1. Go to ```~/.local/bin``` directory, if you don't have it you can create it.\n2. Create a file with your favourite editor, for example, ```vim bbat``` and then put the following code into the file:  \n    ```\n    #!/bin/bash\n\n    docker run -it -d --rm \\\n           --name=bareos-bat \\\n           -e DISPLAY=$DISPLAY \\\n           -e QT_X11_NO_MITSHM=1 \\\n           -v /tmp/.X11-unix:/tmp/.X11-unix \\\n           -v /etc/bareos:/etc/bareos \\\n           --net=host \\\n           apsl/bareos-bat\n    ``` \n3. Give execution permissions to the file :  ``` chmod +x bbat ```\n4. Check if you have the directory at the path. If ```echo $PATH``` returns the directory that we used, that's it. If not, we'll have to add it to the path.\n5. Add the following line to your shell PATH :  \n   ```\n   export PATH=$PATH:$HOME/.local/bin\n   ```\n   The profile will change depending on the shell.\n   * **zsh** : ``` ~/.zshrc ```\n   * **bash** : ``` ~/.bashrc```\n\n6. Refresh your shell\n7. Run ```bbat```\n\n\n\n\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsl%2Fdocker-bareos-bat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fapsl%2Fdocker-bareos-bat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fapsl%2Fdocker-bareos-bat/lists"}