Giter VIP home page Giter VIP logo

docker-images's People

Contributors

dzd avatar jfjallid avatar lerenn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-images's Issues

[ISSUE] Startup process to slow

Hello,
the startup process takes much time because certbot check for renewals on every startup.
It would be nice if there were a cronjob (#6) which checks for renewals instead of doing it on the startup.

Error on startup

Error:

File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 849, in main
    return config.func(config, plugins)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 621, in obtain_cert
    le_client = _init_le_client(config, auth, installer)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 399, in _init_le_client
    acc, acme = _determine_account(config)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 390, in _determine_account
    "Unable to register an account with ACME server")
Error: Unable to register an account with ACME server

docker-compose.yml:

version: "3"
services:
  reverseproxy:
    env_file:
      - variables.env
    image: lerenn/lets-encrypt-reverse-proxy
    container_name: reverseproxy
    networks:
      - reverseproxy
      - mailcowdockerized_mailcow-network
    hostname: reverseproxy
    ports:
      - "443:443"
      - "80:80"
    dns:
      - ${MAILCOW_IPV4_NETWORK:-172.22.1}.254
      - "8.8.8.8"
    volumes:
      - path:/etc/letsencrypt/
      - path:/etc/nginx/sites-enabled/
    restart: always
    environment:
      - certmail=${MAIL}i
    labels:
      - traefik.enable:true
      - traefik.frontend.rule:"Host:traefik.domain.de"
      # get md5 from htpasswd or http://www.htaccesstools.com/htpasswd-generator/
      # and then double all $ to $$ to avoid docker-compose
      - traefik.frontend.auth.basic:"admin:RANDOM-PASS-HASH"
      - traefik.port:8080

networks:
  reverseproxy:
  mailcowdockerized_mailcow-network:
    external: true


variables.env:

LETSENCRYPT_EMAIL="[email protected]"
CERT1="www.domain.de;domain.de"

STDOUT:

### Generating certificates...
SUBDOMAINS_ARGS:  -d "www.debrit.de -d debrit.de" 
Generate "www.debrit.de;debrit.de" certificate
Saving debug log to /var/log/letsencrypt/letsencrypt.log
Unable to register an account with ACME server

letyencrypt log:

root@reverseproxy:/# tail -f /var/log/letsencrypt/letsencrypt.log
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 849, in main
    return config.func(config, plugins)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 621, in obtain_cert
    le_client = _init_le_client(config, auth, installer)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 399, in _init_le_client
    acc, acme = _determine_account(config)
  File "/usr/lib/python2.7/dist-packages/certbot/main.py", line 390, in _determine_account
    "Unable to register an account with ACME server")
Error: Unable to register an account with ACME server

Update to nginx 1.7.11

Hello!

Any chance that you could update this image to use nginx version >= 1.7.11?
I'm quite fond of this image and have been using it for a while but have now run into a situation where I would like to use some directives introduced in nginx version 1.7.11.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.