{"id":13435130,"url":"https://github.com/ikarpovich/bitrix-push-server","last_synced_at":"2025-03-18T02:30:53.187Z","repository":{"id":84239287,"uuid":"150236460","full_name":"ikarpovich/bitrix-push-server","owner":"ikarpovich","description":"Dockerized Bitrix Push Server","archived":false,"fork":false,"pushed_at":"2018-09-26T12:14:34.000Z","size":5,"stargazers_count":19,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-12-06T21:27:18.588Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","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/ikarpovich.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":"2018-09-25T09:02:51.000Z","updated_at":"2024-10-09T07:38:28.000Z","dependencies_parsed_at":"2023-05-24T02:45:26.804Z","dependency_job_id":null,"html_url":"https://github.com/ikarpovich/bitrix-push-server","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/ikarpovich%2Fbitrix-push-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikarpovich%2Fbitrix-push-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikarpovich%2Fbitrix-push-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ikarpovich%2Fbitrix-push-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ikarpovich","download_url":"https://codeload.github.com/ikarpovich/bitrix-push-server/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244143901,"owners_count":20405296,"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-07-31T03:00:32.956Z","updated_at":"2025-03-18T02:30:53.182Z","avatar_url":"https://github.com/ikarpovich.png","language":"Shell","funding_links":[],"categories":["\u003ca id=\"tools\"\u003eИнструменты\u003c/a\u003e"],"sub_categories":[],"readme":"# What is Bitrix Push Server\n\nPush Server is a NodeJS app built by [Bitrix Inc.](https://www.bitrix24.com) to handle realtime communications within Bitrix \nplatform. It is usually installed as part of [Bitrix Environment](https://www.bitrix24.com/self-hosted/installation.php).\n\n# Use case for this Docker image\n\nIf you'd like to run Bitrix24 in Docker on your own making realtime comms, i.e. chat and video calls to work is tricky.\nThis image contains Bitrix Push Server from original Bitrix Environment package and can easily be placed into your existing project. \nThe image is tested to work with *Docker Compose* and *Docker Swarm*.\n\n# How to use the image\n\n## ... on its own\n\nYou have to start [Redis](https://hub.docker.com/_/redis/) first.\n\n```console\n$ docker run --name bitrix-push-server --link redis:redis -d ikarpovich/bitrix-push-server\n```\n\n## ... in [`Docker Swarm`](https://docs.docker.com/engine/reference/commandline/stack_deploy/) or via [`Docker Compose`](https://github.com/docker/compose)\n\nThe example below shows traefik installed in front of the cluster\n\n```yaml\nversion: '3'\n\nservices:\n\n  push-server-sub:\n    image: ikarpovich/bitrix-push-server\n    links:\n      - redis\n    networks:\n      - default\n      - traefik-net\n    environment:\n      - REDIS_HOST=redis\n      - LISTEN_HOSTNAME=0.0.0.0\n      - LISTEN_PORT=80\n      - SECURITY_KEY=testtesttest\n      - MODE=sub\n    labels:\n      - traefik.port=80\n      - traefik.protocol=http\n      - traefik.frontend.rule=Host:bitrix24-sub.test\n      - traefik.docker.network=traefik-net\n      \n  push-server-pub:\n    image: ikarpovich/bitrix-push-server\n    links:\n      - redis\n    networks:\n      - default\n    environment:\n      - REDIS_HOST=redis\n      - LISTEN_HOSTNAME=0.0.0.0\n      - LISTEN_PORT=80\n      - SECURITY_KEY=testtesttest\n      - MODE=pub\n      \n  redis:\n    image: redis\n    networks:\n      - default      \n```\n\n## Setup your Bitrix to support the server:\n\nMessage sender path: `http://push-server-pub/bitrix/pub/`\nSignature code for server interaction: `testtesttest` (your `SECURITY_KEY`)\n\nMessage listener path: `http://bitrix24-sub.test/bitrix/subws/` (https:// ws:// wss://)\n\n# Environment variables\n\n### `LISTEN_HOSTNAME`\n\nHostname to bind daemon to, `0.0.0.0` by default\n\n### `LISTEN_PORT`\n\nPort to bind daemon to, `80` by default\n\n### `REDIS_HOST`\n\nRedis hostname, `redis` by default\n\n### `REDIS_PORT`\n\nRedis port, `6379` by default\n\n### `SECURITY_KEY`\n\nSecurity key, has to match one in *Push \u0026 Pull* system module settings\n\n### `MODE`\n\nMode should be either `pub` or `sub`. You have to launch two containers with each mode to work.\n\n# License\n\nLicense for this image is MIT.\nBitrix and Bitrix Environment, Bitri Push Server are products licensed by Bitrix Inc. under their license terms.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikarpovich%2Fbitrix-push-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fikarpovich%2Fbitrix-push-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fikarpovich%2Fbitrix-push-server/lists"}