{"id":19952651,"url":"https://github.com/qxip/homer-docker-opensips","last_synced_at":"2025-03-01T15:16:47.394Z","repository":{"id":88157576,"uuid":"64744697","full_name":"QXIP/homer-docker-opensips","owner":"QXIP","description":"HOMER Docker OpenSIPS","archived":false,"fork":false,"pushed_at":"2016-09-22T14:02:13.000Z","size":28,"stargazers_count":6,"open_issues_count":0,"forks_count":3,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-12T06:26:32.151Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"M4","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/QXIP.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":"2016-08-02T09:44:42.000Z","updated_at":"2023-07-29T11:45:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"87989926-460e-4b08-a961-858eb6855d41","html_url":"https://github.com/QXIP/homer-docker-opensips","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/QXIP%2Fhomer-docker-opensips","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fhomer-docker-opensips/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fhomer-docker-opensips/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/QXIP%2Fhomer-docker-opensips/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/QXIP","download_url":"https://codeload.github.com/QXIP/homer-docker-opensips/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241381645,"owners_count":19953751,"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-13T01:13:59.143Z","updated_at":"2025-03-01T15:16:47.385Z","avatar_url":"https://github.com/QXIP.png","language":"M4","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n![homer](http://i.imgur.com/ViXcGAD.png)\n\n# HOMER 5 Docker\nhttp://sipcapture.org\n\nA simple recipe to bring up a quick, self-contained Homer5 instance:\n\n* debian/jessie (base image)\n* OpenSIPS2.2:9060 (sipcapture module)\n* Apache2/PHP5:80 (homer ui/api)\n* MySQL5.6/InnoDB:3306 (homer db/data)\n\nStatus: \n\n* [![Build Status](https://travis-ci.org/qxip/homer-docker-opensips.svg?branch=master)](https://travis-ci.org/qxip/homer-docker-opensips)\n\n* Initial working prototype - Testing Needed!\n \n## Running single container.\n\nThe single container instance is suitable for small setups and for testing only. For production, please consider using the multi-container version instead.\n\n### Pull latest\n```\ndocker pull qxip/homer-docker-opensips\n```\n\n### Run latest\n```\ndocker run -tid --name homer5 -p 80:80 -p 9060:9060/udp qxip/homer-docker-opensips\n```\n\n### Running with a local MySQL\n\nBy default, the container runs with a local instance of MySQL running. It may\nbe of interest to run MySQL with a host directory mounted as a volume for\nMySQL data. This will help with keeping persistent data if you need to stop \u0026\nremove the running container. (Which would otherwise delete the MySQL, without\na mounted volume)\n\nYou can run this container with a volume like so:\n\n```\ndocker run -it -v /tmp/homer_mysql/:/var/lib/mysql --name homer5 \\\n\t\t-p 80:80 -p 9060:9060/udp qxip/homer-docker-opensips\n```\n\n### Running with an external MySQL\n\nIf you'd like to run with an external MySQL, pass in the host information for\nthe remote MySQL as entrypoint parameters at the end of your `docker run`\ncommand.\n\n```\ndocker run -tid --name homer5 -p 80:80 -p 9060:9060/udp qxip/homer-docker-opensips \\\n\t\t--dbhost 10.0.0.1 --dbuser homer_user --dbpass homer_password -E\n```\n\n### Entrypoint Parameters\n\nFor single-container only.\n\n```\nHomer5 Docker parameters:\n\n    --dbpass -p             MySQL password (homer_password)\n    --dbuser -u             MySQL user (homer_user)\n    --dbhost -h             MySQL host (127.0.0.1 [docker0 bridge])\n    --mypass -P             MySQL root local password (secret)\n    --es     -E             Enable ElasticSearch statistics storage (disabled)\n    --es-url -U             ElasticSearch URL (http://localhost:9200)\n    --hep    -H             OpenSIPS HEP Socket port (9060)\n```\n\n### ElasticSearch\nThe `-E` or `--es` enables ElasticSearch storage for statistics.\nParameter `-U` or `--es-url` sets the ElasticSearch URL and also enables the\nElasticSearch storage.\n\n#### Note\nIf you have started the container without ElasticSearch storage enabled, but\nyou want to use it, simply overwrite `/etc/opensips/opensips.cfg` with\n`/etc/opensips/opensips-es.cfg.template`:\n```\ncp /etc/opensips/opensips-es.cfg.template /etc/opensips/opensips.cfg\n```\n\n### Local Build \u0026 Test\n```\ngit clone https://github.com/qxip/homer-docker-opensips; cd homer-docker-opensips\ndocker build --tag=\"qxip/homer-docker-opensips:local\" .\ndocker run -tid --name homer5 qxip/homer-docker-opensips:local\ndocker exec -it homer5 bash\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqxip%2Fhomer-docker-opensips","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqxip%2Fhomer-docker-opensips","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqxip%2Fhomer-docker-opensips/lists"}