Sign inSign up

mahiarirani/dbgp

By mahiarirani

•Updated almost 3 years ago

PHP X-Debug Proxy Server #DBGp #DBGpProxy #XDebug #PHP

Image
0

10K+

mahiarirani/dbgp repository overview

⁠PHP X-Debug DBGp Proxy Server Docker Image

This Docker image provides a lightweight and fast PHP X-Debug DBGp Proxy Server based on Alpine Linux. DBGp is a proxy used for debugging PHP applications in multi-user environment. This image is designed to simplify the setup of a DBGp Proxy server in your development environment.

⁠Usage

⁠Docker Pull Command

You can pull the latest version of the image from Docker Hub using the following command:

docker pull mahiarirani/dbgp:latest
⁠Docker Compose

To quickly get started, you can use the provided docker-compose.yml file. Make sure to customize it based on your requirements

version: '3'
services:
  dbgp:
    image: mahiarirani/dbgp:latest
    restart: unless-stopped
    environment:
      IDE_PORT: 9001
      DEBUG_PORT: 9003
    # Add additional configuration as needed

Save this file and run the following command to start the DBGp Proxy server:

docker-compose up -d
⁠Configuration

You can customize the configuration of the DBGp Proxy server by providing environment variables.

  • IDE_PORT: The port of proxy you will set on your IDE to listen. Default is 9001.
  • DEBUG_PORT: The port on which the X-Debug is running server. Default is 9003.
⁠Example:
docker run -d -e IDE_PORT=9001 -e DEBUG_PORT=9003 mahiarirani/dbgp:latest
⁠Building the Image

If you prefer to build the Docker image locally, you can use the provided Dockerfile. Clone the repository and run the following commands:

git clone https://github.com/mahiarirani/dbgp-docker.git
cd dbgp-docker
docker build -t mahiarirani/dbgp:latest .

Tag summary

Content type

Image

Digest

sha256:0a7cd4d9d…

Size

14.2 MB

Last updated

almost 3 years ago

docker pull mahiarirani/dbgp