riadag/phpnuxbill

By riadag

Updated about 1 month ago

The Free Software For Mikrotik Management

Image
Networking
0

1.8K

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:
  phpnuxbill:
    image: riadag/phpnuxbill:latest
    container_name: PHPNuxBill_AIO
    ports:
      - "8080:80"
      - "8306:3306"
    restart: unless-stopped
    privileged: true
    logging:
      driver: "json-file"
      options: 
        max-size: "1m"
        max-file: "3"
    environment:
      # Database Config
      - DB_DATABASE=phpnuxbill
      - DB_USERNAME=phpnuxbill
      - DB_PASSWORD=phpnuxbill
      
      # Set Timezone
      - TIME_ZONE=Asia/Jakarta
    volumes:

      - /DATA/Appdata/phpnuxbill/html:/var/www/html
      - /DATA/Appdata/phpnuxbill/mysql:/var/lib/mysql

ZimaOS/CasaOS docker-compose
name: phpnuxbill
services:
  phpnuxbill:
    cpu_shares: 90
    command: []
    container_name: PHPNuxBill
    deploy:
      resources:
        limits:
          memory: 3968450560
        reservations:
          devices: []
    environment:
      - DB_DATABASE=phpnuxbill
      - DB_PASSWORD=phpnuxbill
      - DB_USERNAME=phpnuxbill
      - TIME_ZONE=Asia/Jakarta
    image: riadag/phpnuxbill:latest
    labels:
      icon: https://raw.githubusercontent.com/hotspotbilling/phpnuxbill/master/ui/ui/images/logo.png
    logging:
      driver: json-file
      options:
        max-file: "3"
        max-size: 1m
    ports:
      - target: 80
        published: "8080"
        protocol: tcp
      - target: 3306
        published: "8306"
        protocol: tcp
    privileged: true
    restart: unless-stopped
    volumes:
      - type: bind
        source: /DATA/AppData/phpnuxbill/html
        target: /var/www/html
      - type: bind
        source: /DATA/AppData/phpnuxbill/mysql
        target: /var/lib/mysql
    devices: []
    cap_add: []
    network_mode: bridge
x-casaos:
  author: self
  category: self
  hostname: ""
  icon: https://raw.githubusercontent.com/hotspotbilling/phpnuxbill/master/ui/ui/images/logo.png
  index: /
  is_uncontrolled: false
  port_map: "8080"
  scheme: http
  store_app_id: phpnuxbill
  title:
    custom: PHPNuxBill
    en_us: phpnuxbill



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:05e2cbc36

Size

267.4 MB

Last updated

about 1 month ago

docker pull riadag/phpnuxbill