{"id":20282738,"url":"https://github.com/pro-oc/pro-oc-vzp-b2b-proxy","last_synced_at":"2026-06-04T18:31:11.830Z","repository":{"id":89192326,"uuid":"451572269","full_name":"PRO-OC/pro-oc-vzp-b2b-proxy","owner":"PRO-OC","description":"Proxy server pro VZP B2B.","archived":false,"fork":false,"pushed_at":"2022-04-22T17:36:12.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-04T03:32:09.823Z","etag":null,"topics":["b2b","proxy","proxy-server","vzp"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/PRO-OC.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":"2022-01-24T17:51:45.000Z","updated_at":"2022-04-20T07:07:36.000Z","dependencies_parsed_at":"2023-06-14T09:15:17.244Z","dependency_job_id":null,"html_url":"https://github.com/PRO-OC/pro-oc-vzp-b2b-proxy","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/PRO-OC/pro-oc-vzp-b2b-proxy","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRO-OC%2Fpro-oc-vzp-b2b-proxy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRO-OC%2Fpro-oc-vzp-b2b-proxy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRO-OC%2Fpro-oc-vzp-b2b-proxy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRO-OC%2Fpro-oc-vzp-b2b-proxy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PRO-OC","download_url":"https://codeload.github.com/PRO-OC/pro-oc-vzp-b2b-proxy/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PRO-OC%2Fpro-oc-vzp-b2b-proxy/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33916320,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-04T02:00:06.755Z","response_time":64,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["b2b","proxy","proxy-server","vzp"],"created_at":"2024-11-14T14:11:11.055Z","updated_at":"2026-06-04T18:31:11.775Z","avatar_url":"https://github.com/PRO-OC.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PRO OC VZP B2B Proxy\n\n## Build docker image vzp-b2b\n\nJe nutné zapnout BuildKit v souboru ```/etc/docker/daemon.json``` a restartovat deamona.\n\n```\n{ \n  \"features\": { \n    \"buildkit\": true \n  } \n}\n```\n\nLokálně se za pomocí secrets z BuildKitu přidá následovně. Při přidávání na serveru v UI je nutné dodržet id ```cert``` a typ ```.pem```.\n\n```\nDOCKER_BUILDKIT=1 sudo docker build --secret id=cert,src=./../pro-oc-vfn-secrets/cert.pem -t vzp-b2b . --progress=plain\n```\n\n## Spuštění docker image vzp-b2b\n\nEnv proměnné lokálně vkládané např. z jiného git repozitáře:\n\n1) **(required)** ```ENCRYPT_KEY```\n2) **(required)** ```CERT_PASS``` (passphrase for .pem)\n3) **(optional)** ```PORT``` (default 3000)\n\n```\nexport CERT_PASS=$(cat ../pro-oc-vfn-secrets/certpassphrase.txt)\nexport ENCRYPT_KEY=$(cat ../pro-oc-vfn-secrets/encryptionkey.txt)\n\nsudo docker run --network host -it \\\n-e ENCRYPT_KEY=\"${ENCRYPT_KEY}\" \\\n-e CERT_PASS=\"${CERT_PASS}\" \\\nvzp-b2b\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpro-oc%2Fpro-oc-vzp-b2b-proxy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpro-oc%2Fpro-oc-vzp-b2b-proxy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpro-oc%2Fpro-oc-vzp-b2b-proxy/lists"}