Skip to content

getfundwave/nginx-acme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Address: https://github.com/getfundwave/nginx-acme/pkgs/container/nginx-acme

Description: This repo heavily refers to https://github.com/acmesh-official/acme.sh and https://github.com/nginx-proxy/acme-companion to issue certs using letsencrypt.

Unlike nginx-proxy/acme-companion, this repo doesn't require docker.sock. Instead the getfundwave/nginx-proxy server listens to changes in certs using inotifywait.

Sample:

docker-compose:

  nginx:
    container_name: nginx
    image: ghcr.io/getfundwave/nginx-proxy:alpine
    ports:
      - "80:80"
      - "443:443"
    volumes:
      - certs:/etc/nginx/certs:ro
      - nginxconf:/etc/nginx/conf.d
      - nginxhtml:/usr/share/nginx/html:rw
      - ./proxy.locations:/etc/nginx/conf.d/proxy.locations
      - ./upstream.conf:/etc/nginx/conf.d/upstream.conf
     #- ./client_max_body_size.conf:/etc/nginx/conf.d/client_max_body_size.conf:ro
    environment:
      - DISABLE_ACCESS_LOGS=true
    restart: always

  acme:
    container_name: acme
    image: ghcr.io/getfundwave/nginx-acme:alpine
    depends_on:
      - "nginx"
    volumes:
      - certs:/etc/nginx/certs:rw
      - nginxconf:/etc/nginx/conf.d
      - nginxhtml:/usr/share/nginx/html:rw
    environment:
      - VIRTUAL_HOST=${HOST}
      - ACME_EMAIL=admin@<your-domain>
    restart: always

About

Acme companion for getfundwave/nginx-proxy

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages