mirror of
https://github.com/louislam/uptime-kuma.git
synced 2024-11-09 23:24:07 -08:00
Chore: Add test radius dockerfile
This commit is contained in:
parent
573f158f7f
commit
c0eb0cb42c
13
test/test-radius.dockerfile
Normal file
13
test/test-radius.dockerfile
Normal file
|
@ -0,0 +1,13 @@
|
|||
# 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
|
Loading…
Reference in a new issue