Giter Site home page Giter Site logo

daloradius-docker's Introduction

Daloradius

About

  • Docker image for Daloradius based on Ubuntu 18.04
  • includes freeradius 3, Apache, php, MariaDB-client
  • needs a separate MariaDB

Tags

  • versions correspond to Daloradius verisons
  • the tags are prefixed by the platform
  • right now I build amd64, aarch64 and armhf

Environment variables

MYSQL_USER

standard value: radius

MYSQL_PASSWORD

standard value: dalodbpass

MYSQL_HOST

standard value: localhost

MYSQL_PORT

standard value: 3306

MYSQL_DATABASE

standard value: radius

TZ

standard value: Europe/Berlin - see List of tz time zones


DALO_VERSION

used for version control


Docker-compose example

If you are using armhf you have to change the MariaDB image. I have provided an example below as a comment.

version: "3"
services:
  radius:
    image: frauhottelmann/daloradius-docker
    container_name: radius
    restart: always
    depends_on:
      - "radius-mysql" 
    ports:
      - '1812:1812/udp'
      - '1813:1813/udp'
      - '80:80'
    environment:
      - MYSQL_HOST=radius-mysql
      - MYSQL_PORT=3306
      - MYSQL_DATABASE=radius
      - MYSQL_USER=radius
      - MYSQL_PASSWORD=dalodbpass
#    volumes:
#      - ./radius/clients.conf:/etc/freeradius/3.0/clients.conf
#      - ./radius/eap:/etc/freeradius/3.0/mods-available/eap
#      - ./ssl/fullchain.pem:/etc/freeradius/3.0/certs/fullchain.pem
#      - ./ssl/privkey.pem:/etc/freeradius/3.0/certs/privkey.pem
  radius-mysql:
    image: mariadb:10.1.41 # use image: linuxserver/mariadb:arm32v7-110.3.18mariabionic-ls37 for RaspberryPi
    container_name: radius-mysql
    restart: always
    environment:
      - MYSQL_DATABASE=radius
      - MYSQL_USER=radius
      - MYSQL_PASSWORD=dalodbpass
      - MYSQL_ROOT_PASSWORD=dalorootpass
    volumes:
      - "./radius-mysql:/var/lib/mysql"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.