[新服务] ddns-go - web-ui updating ddns

date
Nov 18, 2022
slug
newservice-ddns-go
status
Published
summary
新服务 动态域名
tags
service
type
Post

Summary

  • 可以web-ui来配置
  • 一次配置,今后都可以不管

步骤

export DOCKER_PROJ=ddns-go
#export DOCKER_PORT=18870
mkdir /data/$DOCKER_PROJ; cd /data/$DOCKER_PROJ
cat > docker-compose.yml <<EOF
version: '3.3'
services:
    ddns-go:
        environment:
            - PUID=1000
            - PGID=1000
        container_name: ddns-go
        restart: unless-stopped
        #ports:
        #    - '<cloudflare端口>:9876'
        volumes:
            - './data:/root'
        image: jeessy/ddns-go
networks:
  default:
    name: npm_nginx_proxy_manager-network
    external: true
EOF

docker-compose down; docker-compose up -d; sleep 1s; docker-compose logs -f

cloudflare 加项 + 配置 nginx-proxy-manager npm

 

网页配置 https://ddns-go-web.domain.tld

需要被动态修改的域名也要在cloudflare提早建项

notion image

#2

notion image

验证


© Ying Bun 2021 - 2024