Letsencrypt container not working

Hi from germany,

i try to switch my VPS to Docker-Images. I wanted to stay on your images and started with the NGINX.

When i use NGINX in my docker-compose, i can see the testpage on my domain.

---
version: "2"
services:
  nginx:
    image: linuxserver/nginx
    container_name: nginx
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
    volumes:
      - /home/user/appdata/nginx:/config
    ports:
      - 80:80
      - 443:443
    restart: unless-stopped

I want to have https, so i started to replace the above docker-compose.yml with this:

---
version: "2"
services:
  letsencrypt:
    image: linuxserver/letsencrypt
    container_name: letsencrypt
    cap_add:
      - NET_ADMIN
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Europe/Berlin
      - URL=myurl.de
      - SUBDOMAINS=www,
      - VALIDATION=http
    volumes:
      - /home/myuser/appdata/letsencrypt:/config
    ports:
      - 443:443
      - 80:80
    restart: unless-stopped

Please note: I changed URL= and volumes for this post.

When i spin up the container, i cannot see the testpage on my domain.

Is there something i missed? It looks like the letsencrypt image has some problems.

If you need any logs, feel free to ask for them.

Me again,

i checked the logs for the container and noticed, that my rate limits are too high, so i cannot get any new certificate. Did not know anything about this, but now im using the staging option and i can get the container up and running.

Now i need to wait, till i get new ratings. Till then im using the staging option.

This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.