{"id":14975900,"url":"https://github.com/sergioduartte/snipe-docker-compose","last_synced_at":"2026-01-31T01:11:14.766Z","repository":{"id":67119049,"uuid":"248111962","full_name":"sergioduartte/snipe-docker-compose","owner":"sergioduartte","description":"A small deployment with docker of asset/license management Snipe-it.","archived":false,"fork":false,"pushed_at":"2020-03-18T04:00:13.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-09T15:08:04.741Z","etag":null,"topics":["asset-management","docker","dockercompose","license-management","opensource","snipe-it","snipeit"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sergioduartte.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-03-18T01:37:46.000Z","updated_at":"2020-03-18T10:18:52.000Z","dependencies_parsed_at":null,"dependency_job_id":"dcbd14d7-b805-4384-816b-adba7174a991","html_url":"https://github.com/sergioduartte/snipe-docker-compose","commit_stats":{"total_commits":3,"total_committers":2,"mean_commits":1.5,"dds":"0.33333333333333337","last_synced_commit":"4cfa9b2e5f2b23a3394acaff94156f2118beaf2b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sergioduartte/snipe-docker-compose","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioduartte%2Fsnipe-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioduartte%2Fsnipe-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioduartte%2Fsnipe-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioduartte%2Fsnipe-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sergioduartte","download_url":"https://codeload.github.com/sergioduartte/snipe-docker-compose/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sergioduartte%2Fsnipe-docker-compose/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28925683,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T22:32:35.345Z","status":"ssl_error","status_checked_at":"2026-01-30T22:32:31.927Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["asset-management","docker","dockercompose","license-management","opensource","snipe-it","snipeit"],"created_at":"2024-09-24T13:52:50.011Z","updated_at":"2026-01-31T01:11:14.737Z","avatar_url":"https://github.com/sergioduartte.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# snipe-it with docker-compose\n**Atention!** This is **NOT** a oficial branch of [**Snipe-it**](https://snipeitapp.com/). This is a simple deployment with docker-compose and some configs that worked for me.\n\n## Building the service\n\n1. ### Prepare a new environment\n\n     I choose the Ubuntu 16.04 LTS to deploy everything into, you can work on another that have at least 2 GB of RAM and 1 CPU.\n\n    1.1 Update the packages. \n\t```shell\n\tsudo apt -y update \u0026\u0026 sudo apt -y dist-upgrade\n\t```\n\n2. ### Install `docker` \n\t```shell\n\tcurl -fsSL https://get.docker.com -o get-docker.sh\n\tsh get-docker.sh\n\t```\n\n3. ### And `docker-compose`\n\t```shell \n\tsudo curl -L https://github.com/docker/compose/releases/download/1.18.0/docker-compose-`uname -s`- `uname -m` -o /usr/local/bin/docker-compose\n\t```\n\t```shell\n\tchmod +x /usr/local/bin/docker-compose\n\t```\n4. ### Configuring the application\n\t4.1 Pass the files from this repository to the deployment machine. Maybe you'll need sudo to do some operations here. If you're rebuilding the application (see the section below about backup for more details), please use `rsync -ahzv /src/folder/ /dest/folder` to avoid [_fadiga_](https://www.youtube.com/watch?v=c4k-cRUFgyI).\n\t\n\t4.2 Configure the variables, walkthrough the `.my-env-file`and `docker-compose.yml` and configure your deployment as you wish.\n\n5. ### Running the application\n\t```shell\n\tsudo docker-compose up -d\n\t```\n6. ### Mail Service \n\tTo the Mail service work properly\n\t6.1  Get in the container\n\t```shell\n\tsudo docker exec -it snipe-it /bin/bash\n\t```\n\t6.2 Run the commands\n\t```shell\n\topenssl genrsa -out /var/www/html/storage/oauth-private.key 4096\n\t```\n\tand\n\t```shell\n\topenssl rsa -in /var/www/html/storage/oauth-private.key -pubout \u003e /var/www/html/storage/oauth-public.key\n\t```\n7. ### [optional]Backup!\n\tThe Backup works basically on save the folder that contains the volume of the DB and put it back on the same folder at host before run the compose.\n\t\n\t7.1 Acess the machine as `sudo`\n\t7.2 Stop the containers\n\t7.3 Do the `rsync` of volume, put it safe on somewhere else!\n\t```shell\n\trsync -ahzv /var/bin/docker/volumes/\u003csnipesomething\u003e /backup/folder\n\t```\n\tOr... just save the folder that are mounted as the `docker-compose.yml` specifies.\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioduartte%2Fsnipe-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsergioduartte%2Fsnipe-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsergioduartte%2Fsnipe-docker-compose/lists"}