Coder Social home page Coder Social logo

ddns-tencent's Introduction

ddns-tencent

用法

编辑 docker-compose.yml 环境变量然后运行

docker compose up -d

环境变量说明

变量名 说明
Ipv4Domain ipv4要解析的域名, 若为空或无该字段则Ipv4的字段均不生效
Ipv4SubDomain ipv4子域名
Ipv4RecordLine 某条线路名称的解析记录, 选填
Ipv4RecordId 记录Id, 详见 https://cloud.tencent.com/document/api/1427/56166
Ipv6Domain ipv6要解析的域名, 若为空或无该字段则Ipv6的字段均不生效
Ipv6SubDomain ipv6子域名
Ipv6RecordLine 某条线路名称的解析记录, 选填
Ipv6RecordId 记录Id, 详见 https://cloud.tencent.com/document/api/1427/56166
SecretId 详见 https://console.dnspod.cn/account/token/apikey
SecretKey 详见 https://console.dnspod.cn/account/token/apikey
CronExpression 定时任务表达式, 默认值为 */5 * * * *, 选填

例子

只对ipv6的配置ddns, 该配置会将ipv6解析到 ddns.test.example.com

services:
  ddns:
    image: jellyqwq/ddns-tencent:latest
    container_name: ddns-tencent
    restart: unless-stopped
    network_mode: host
    environment:
      - Ipv6Domain=example.com
      - Ipv6SubDomain=ddns.test
      - Ipv6RecordId=xxxxxxxx
      - SecretId=xxxxxxxxxxxxxxxxxxx
      - SecretKey=xxxxxxxxxxxxxxxxxx

ddns-tencent's People

Contributors

jellyqwq avatar

Stargazers

 avatar

Watchers

 avatar

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.