{"id":21975258,"url":"https://github.com/yaegashi/p4p-docker","last_synced_at":"2026-02-15T13:31:33.873Z","repository":{"id":136843129,"uuid":"257003284","full_name":"yaegashi/p4p-docker","owner":"yaegashi","description":"Helix Core Proxy Server (P4P) Docker Container","archived":false,"fork":false,"pushed_at":"2024-11-16T06:18:08.000Z","size":11,"stargazers_count":1,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-03T23:12:23.609Z","etag":null,"topics":["docker","helix-core","helix-proxy","p4p","perforce"],"latest_commit_sha":null,"homepage":"","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/yaegashi.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":"2020-04-19T13:14:51.000Z","updated_at":"2024-11-16T05:58:32.000Z","dependencies_parsed_at":null,"dependency_job_id":"0d218cb9-d52e-4e3c-b571-413766351d88","html_url":"https://github.com/yaegashi/p4p-docker","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/yaegashi/p4p-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaegashi%2Fp4p-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaegashi%2Fp4p-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaegashi%2Fp4p-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaegashi%2Fp4p-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yaegashi","download_url":"https://codeload.github.com/yaegashi/p4p-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yaegashi%2Fp4p-docker/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004062,"owners_count":26083667,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"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":["docker","helix-core","helix-proxy","p4p","perforce"],"created_at":"2024-11-29T15:50:35.711Z","updated_at":"2025-10-10T13:32:14.359Z","avatar_url":"https://github.com/yaegashi.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Helix Core Proxy Server (P4P) Docker Container\n\n## Introduction\n\nThis is a Docker container for the Helix Core Proxy Server (P4P).\n\nThe container includes the following executable binaries from the Perforce distribution:\n\n- [Helix Core Proxy Server (P4P)](https://www.perforce.com/downloads/helix-core-proxy-server-p4p)\n- [Helix Command-Line Client (P4)](https://www.perforce.com/downloads/helix-command-line-client-p4)\n\nThe container images are published at `ghcr.io/yaegashi/p4p-docker/p4p`.\n\nIt supports linux/amd64 and linux/arm64 platforms starting from the r24.2 release.\n\n## Running Container\n\nIt is recommended to use [Docker Compose](https://docs.docker.com/compose/)\nwith compose.yml like the following:\n\n```yaml\nservices:\n  p4p:\n    image: ghcr.io/yaegashi/p4p-docker/p4p:r24.2\n    # P4P command line options\n    # https://www.perforce.com/manuals/p4sag/Content/P4SAG/chapter.proxy.html\n    command: -v proxy.monitor.level=0\n    # P4P Environment variables\n    # https://www.perforce.com/manuals/cmdref/Content/CmdRef/envars.html\n    environment:\n      TZ: Asia/Tokyo\n      P4DEBUG: server=1\n      P4PORT: ssl:1666\n      P4TARGET: ssl:target-server:1666\n    ports:\n      - 1666:1666\n    volumes:\n      - ./data:/data\n    logging:\n      driver: json-file\n      options:\n        max-size: \"1g\"\n        max-file: \"10\"\n```\n\nTo create and launch a container:\n\n```console\ndocker compose up -d\n```\n\nTo stop the container:\n\n```console\ndocker compose down\n```\n\nTo view container status:\n\n```console\ndocker compose ps\n```\n\nTo view container logs:\n\n```console\ndocker compose logs\n```\n\nNote: You can use `--tail=N` to limit the log output.\nLogs will be lost when the container is removed by `docker compose down`.\n\nTo stream logs in real-time (type Ctrl+C to stop):\n\n```console\ndocker compose logs --tail=100 -f\n```\n\nTo compress and archive logs:\n\n```console\ndocker compose logs -t --no-log-prefix | gzip -c9 \u003e p4p.log.gz\n```\n\nTo check the expiration date of the certificate generated by p4p:\n\n```console\nopenssl x509 -text -noout -in ./data/ssl/certificate.txt | grep -a3 'Not After'\n```\n\nExample output:\n\n```text\n        Issuer: C = US, ST = CA, L = Alameda, O = Perforce Autogen Cert, CN = 94647952efa8\n        Validity\n            Not Before: Nov 16 04:00:13 2024 GMT\n            Not After : Nov 16 04:00:13 2026 GMT\n        Subject: C = US, ST = CA, L = Alameda, O = Perforce Autogen Cert, CN = 94647952efa8\n        Subject Public Key Info:\n            Public Key Algorithm: rsaEncryption\n```\n\nTo regenerate the certificate, just remove files data/ssl/*.txt and restart the container:\n\n```console\nrm ./data/ssl/*.txt\ndocker compose restart\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaegashi%2Fp4p-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyaegashi%2Fp4p-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyaegashi%2Fp4p-docker/lists"}