- Docker image for Daloradius based on Ubuntu 18.04
- includes freeradius 3, Apache, php, MariaDB-client
- needs a separate MariaDB
- versions correspond to Daloradius verisons
- the tags are prefixed by the platform
- right now I build amd64, aarch64 and armhf
standard value: radius
standard value: dalodbpass
standard value: localhost
standard value: 3306
standard value: radius
standard value: Europe/Berlin - see List of tz time zones
used for version control
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"