Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

19 linhas
584B

  1. FROM debian:stretch
  2. RUN echo deb http://deb.debian.org/debian jessie-backports main >> /etc/apt/sources.list
  3. RUN apt-get update && apt-get install -y haproxy cron \
  4. && apt-get install -y certbot -t jessie-backports
  5. RUN mkdir -p /run/haproxy
  6. COPY haproxy.cfg /etc/haproxy/haproxy.cfg
  7. COPY haproxy_letsencrypt.cfg /etc/haproxy/haproxy_letsencrypt.cfg
  8. COPY startup.sh /usr/local/bin/
  9. RUN chmod +x /usr/local/bin/startup.sh
  10. COPY letsencrypt.cron /usr/local/bin/
  11. RUN chmod +x /usr/local/bin/letsencrypt.cron
  12. #CMD haproxy -f /etc/haproxy/haproxy.cfg
  13. CMD /usr/local/bin/startup.sh