Commit 7d1333ba authored by Pedro Eduardo Trujillo's avatar Pedro Eduardo Trujillo
Browse files

Controla salud cuando genera dhparam

parent f7cb4c5d
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -26,7 +26,9 @@ services:
      - source: cert-privkey
        target: /etc/nginx/certs/privkey.pem
    healthcheck:
      test: wget --spider -S -t 3 http://${PUBLIC_HOSTNAME:-localhost}
      test: >
        wget --spider -S -t 3 http://${PUBLIC_HOSTNAME:-localhost} ||
        count=$$(ps aux | grep openssl | wc -l); [ $${count} -gt 1 ]
      interval: 30s
      timeout: 10s
      retries: 3