Sign inSign up

bibica/certbot-cron

By bibica

Updated 8 months ago

Image
0

782

bibica/certbot-cron repository overview

services:
  certbot:
    image: bibica/certbot-cron:latest
    container_name: certbot
    environment:
      - EMAIL=${CERTBOT_EMAIL}
      - DOMAINS=${CERTBOT_DOMAINS}
      - PLUGIN=cloudflare
      - CLOUDFLARE_TOKEN=${CLOUDFLARE_API_TOKEN}
      - TZ=Asia/Ho_Chi_Minh
      - ONE_SHOT=true
      - GENERATE_DHPARAM=false
    volumes:
      - ./certbot:/config
    networks:
      reverse_proxy:
        ipv4_address: 172.18.0.8
    logging:
      driver: "none"

networks:
  reverse_proxy:
    driver: bridge
    name: reverse_proxy
    ipam:
      driver: default
      config:
        - subnet: 172.18.0.0/16

.env

CLOUDFLARE_API_TOKEN=xxxxxxxxxxxxxxxxx
[email protected]
CERTBOT_DOMAINS=dns.bibica.net

Tag summary

Content type

Image

Digest

sha256:f6352e45b

Size

94.7 MB

Last updated

8 months ago

docker pull bibica/certbot-cron