/freeradius

Alpine Linux based FreeRadius Docker container

Primary LanguageShellApache License 2.0Apache-2.0

FreeRadius Docker Container

Latest Build Status Docker Pulls Docker Stars MB License

Docker tags:

Tag freeradius Version Description Release Date
latest 3.0.26 Latest stable release 2022-12-20


Description

FreeRadius container built on Alpine Linux.

See: https://wiki.freeradius.org/guide/Basic-configuration-HOWTO and the rest of the FreeRadius Wiki for setup help.


Usage

This container exposes the following two ports:

  • 1812/udp freeradius authorization service port
  • 1813/udp freeradius accounting service port

*Basic docker-compose.yml to launch a FreeRadius instance and make it accessible

version: '3'

services:
  freeradius:
    image: goofball222/freeradius
    container_name: freeradius
    network_mode: bridge
    restart: unless-stopped
    ports:
      - 1812:1812/udp
      - 1813:1813/udp
    volumes:
      - /etc/localtime:/etc/localtime:ro
      - ./clients.conf:/etc/raddb/clients.conf
      - ./radiusd.conf:/etc/raddb/radiusd.conf
      - ./authorize:/etc/raddb/mods-config/files/authorize
      - ./certs:/etc/freeradius/certs
    environment:
      - TZ=UTC

Environment variables:

Variable Default Description
DEBUG false Set to true for extra entrypoint script verbosity for debugging
PGID 999 Specifies the GID for the container internal radius group (used for file ownership)
PUID 999 Specifies the UID for the container internal radius user (used for process and file ownership)
RADIUSD_OPTS unset Any additional custom run options for the container radiusd process