Sign inSign up

riadag/phpnuxbill

By riadag

Updated 1 day ago

The Free Software For Mikrotik Management

Image
Networking
0

2.7K

riadag/phpnuxbill repository overview


PHPNuxBill

The Free Software For Mikrotik Management

Logo Banner


PHPNuxBill (PHP Mikrotik Billing) is a web-based application (MikroTik API PHP class) Hotspot and PPPOE billing for Mikrotik using the PHP programming language and using the Mikrotik API as communication with the router.

The image build on Alpine Linux and App PHPNuxBill from ibnux.


Usage

Here are some example snippets to help you get started creating a container.

Docker Compose
version: '3.8'

services:
  nuxradius:
    container_name: phpnuxbill
    image: riadag/phpnuxbill:latest
    restart: unless-stopped
    privileged: true
    cap_add:
      - NET_ADMIN
    devices:
      - /dev/net/tun
    environment:
      CLIENT_IP: 0.0.0.0
      CLIENT_SECRET: phpnuxbill
      MYSQL_DATABASE: phpnuxbill
      MYSQL_USER: phpnuxbill
    ports:
      - "8080:80/tcp"
      - "8443:443/tcp"
      - "11944:1194/tcp"
      - "1812:1812/udp"
      - "1813:1813/udp"
    deploy:
      resources:
        limits:
          cpus: '1.00'
          memory: 4GB
        reservations:
          cpus: '0.00'
          memory: 256MB

ZimaOS/CasaOS docker-compose

services:
  nuxradius:
    cap_add:
      - NET_ADMIN
    command: null
    container_name: phpnuxbill
    deploy:
      resources:
        limits:
          memory: 4GB
          cpus: "1.00"
        reservations:
          memory: 256MB
          cpus: "0.00"
      placement: {}
    devices:
      - /dev/net/tun
    entrypoint: null
    environment:
      CLIENT_IP: 0.0.0.0
      CLIENT_SECRET: phpnuxbill
      MYSQL_DATABASE: phpnuxbill
      MYSQL_USER: phpnuxbill
    image: riadag/phpnuxbill:latest
    labels:
      icon: https://raw.githubusercontent.com/hotspotbilling/phpnuxbill/refs/heads/master/ui/ui/images/logo.png
    network_mode: bridge
    ports:
      - mode: ingress
        target: 80
        published: "8080"
        protocol: tcp
      - mode: ingress
        target: 443
        published: "8443"
        protocol: tcp
      - mode: ingress
        target: 1194
        published: "11944"
        protocol: tcp
      - mode: ingress
        target: 1812
        published: "1812"
        protocol: udp
      - mode: ingress
        target: 1813
        published: "1813"
        protocol: udp
    privileged: true
    restart: unless-stopped
    volumes: []
x-casaos:
  hostname: ""
  icon: https://raw.githubusercontent.com/hotspotbilling/phpnuxbill/refs/heads/master/ui/ui/images/logo.png
  index: /
  is_uncontrolled: false
  main: nuxradius
  port_map: "8080"
  scheme: http
  store_app_id: compose-db33c101ff3c4a44
  title:
    custom: PHPNuxbill
name: compose-db33c101ff3c4a44


Web Interface

Visit the url http://<IP_ADDRESS>:8080/install to have access to the PHPNuxBill's web interface.

  - DB_HOST=127.0.0.1
  - DB_DATABASE=phpnuxbill
  - DB_PASSWORD=phpnuxbill
  - DB_USERNAME=phpnuxbill

And visit the url http://<IP_ADDRESS>:8080/admin to have access to the PHPNuxBill's web settings.

  • Default username: admin
  • Default password: admin

It's highly recommended to change the default access credentials on first start.


CHANGELOG

2024.10.23

  • Custom Balance admin refill Requested by Javi Tech
  • Only Admin can edit Customer Requested by Fiberwan
  • Only Admin can show password Requested by Fiberwan

2024.10.18

  • Single Session Admin Can be set in the Settings
  • Auto expired unpaid transaction
  • Registration Type
  • Can Login as User from Customer View
  • Can select customer register must using OTP or not
  • Add Meta.php for additional information

2024.10.15

  • CSRF Security
  • Admin can only have 1 active session
  • Move Miscellaneous Settings to new page
  • Fix Customer Online
  • Count Shared user online for Radius REST
  • Fix Invoice Print

2024.10.7

  • Show Customer is Online or not
  • Change Invoice Theme for printing
  • Rearange Customer View

2024.9.23

  • Discount Price
  • Burst Preset

2024.9.20

  • Forgot Password
  • Forgot Username
  • Public header template

2024.9.13

  • Add Selling Mikrotik VPN By @agstrxyz
  • Theme Redesign by @Focuslinkstech
  • Fix That and this
Payment Gateway

Credit

ibnux


Tag summary

Content type

Image

Digest

sha256:9d4c54f71

Size

150.9 MB

Last updated

1 day ago

docker pull riadag/phpnuxbill