You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
555 B
14 lines
555 B
1 year ago
|
# Container running a test radius server
|
||
|
# More instructions in https://github.com/louislam/uptime-kuma/pull/1635
|
||
|
|
||
|
FROM freeradius/freeradius-server:latest
|
||
|
|
||
|
RUN mkdir -p /etc/raddb/mods-config/files/
|
||
|
|
||
|
RUN echo "client net {" > /etc/raddb/clients.conf
|
||
|
RUN echo " ipaddr = 172.17.0.0/16" >> /etc/raddb/clients.conf
|
||
|
RUN echo " secret = testing123" >> /etc/raddb/clients.conf
|
||
|
RUN echo "}" >> /etc/raddb/clients.conf
|
||
|
|
||
|
RUN echo "bob Cleartext-Password := \"testpw\"" > /etc/raddb/mods-config/files/authorize
|