Ver código fonte

cleared Dockerfile; added vars-files

develop
Robin Thoni 7 anos atrás
pai
commit
e697c55e02
2 arquivos alterados com 5 adições e 11 exclusões
  1. 2
    10
      freeradius/Dockerfile
  2. 3
    1
      freeradius/vars-files

+ 2
- 10
freeradius/Dockerfile Ver arquivo

@@ -18,18 +18,10 @@ COPY ./common.sh /common.sh
18 18
 
19 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 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 27
 CMD ["/run.sh"]

+ 3
- 1
freeradius/vars-files Ver arquivo

@@ -1,3 +1,5 @@
1
+radiusd.conf /etc/freeradius/radiusd.conf
1 2
 users /etc/freeradius/users
2 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

Carregando…
Cancelar
Salvar