Browse Source

cleared Dockerfile; added vars-files

develop
Robin Thoni 7 years ago
parent
commit
e697c55e02
2 changed files with 5 additions and 11 deletions
  1. 2
    10
      freeradius/Dockerfile
  2. 3
    1
      freeradius/vars-files

+ 2
- 10
freeradius/Dockerfile View File

18
 
18
 
19
 COPY ./run.sh /run.sh
19
 COPY ./run.sh /run.sh
20
 
20
 
21
-#RUN echo 'bob     Cleartext-Password := "hello"' >> /etc/freeradius/users
22
-
23
-#RUN echo "client 0.0.0.0 {\nnetmask 0\nsecret testing123\n}" >> /etc/freeradius/clients.conf
24
-
25
 RUN mkdir "${CONFIG_DIR}"
21
 RUN mkdir "${CONFIG_DIR}"
26
 
22
 
27
-COPY config/users "${CONFIG_DIR}"/users
28
-
29
-COPY config/clients.conf "${CONFIG_DIR}"/clients.conf
30
-
31
-#COPY dhcpd.conf "${CONFIG_DIR}"/dhcpd.conf
23
+COPY config "${CONFIG_DIR}"
32
 
24
 
33
-EXPOSE 80
25
+EXPOSE 1812
34
 
26
 
35
 CMD ["/run.sh"]
27
 CMD ["/run.sh"]

+ 3
- 1
freeradius/vars-files View File

1
+radiusd.conf /etc/freeradius/radiusd.conf
1
 users /etc/freeradius/users
2
 users /etc/freeradius/users
2
 clients.conf /etc/freeradius/clients.conf
3
 clients.conf /etc/freeradius/clients.conf
3
-eap.conf /etc.freeradius/eap.conf
4
+eap.conf /etc/freeradius/eap.conf
5
+modules/mschap /etc/freeradius/modules/mschap

Loading…
Cancel
Save