Header Ads Widget

Responsive Advertisement

To set up Bumper with Nginx on Proxmox (Debian 11), follow these steps:

1. Prerequisites

  • Ensure Proxmox is installed.
  • Update your system:
    bash
    apt update && apt upgrade -y

2. Install Docker and Docker Compose

  • Install Docker:
    bash
    apt install docker.io -y
  • Start and enable Docker:
    bash
    systemctl start docker systemctl enable docker
  • Install Docker Compose:
    bash
    apt install docker-compose -y

3. Clone the Bumper Repository

  • Clone the repository:
    bash
    git clone https://github.com/MVladislav/bumper.git cd bumper

4. Create Certificates

  • Navigate to the certs directory and run the certificate creation script:
    bash
    cd certs ../scripts/create_cert.sh

5. Configure Bumper

  • Create and edit the .env file:
    bash
    nano .env
  • Example .env file:
    env
    NODE_ROLE=manager NETWORK_MODE=overlay VERSION_BUMPER=develop VERSION_NGNIX=1.25.2-alpine3.18-slim PUID=1000 PGID=1000 TZ=Europe/Berlin BUMPER_ANNOUNCE_IP=<Your_Server_IP> BUMPER_LISTEN=0.0.0.0 BUMPER_DEBUG_LEVEL=INFO

6. Set Up Nginx

  • Create an Nginx configuration file in the configs/nginx directory:
    bash
    nano configs/nginx/bumper.conf
  • Example configuration:
    nginx
    server { listen 80; server_name <Your_Server_IP>; location / { proxy_pass http://localhost:8000; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-Proto $scheme; } }

7. Deploy Bumper with Docker Compose

  • Deploy Bumper:
    bash
    docker-compose up -d

8. Access Bumper

  • Open a web browser and navigate to http://<Your_Server_IP> to access Bumper.

This guide covers the essential steps for setting up Bumper with Nginx on Proxmox (Debian 11). For detailed configuration and advanced settings, refer to the Bumper GitHub repository.

Post a Comment

0 Comments