[软件服务] dnsmgr@极空间sh88z423#聚合DNS管理系统

date
Dec 6, 2024
slug
newsoftware-dnsmgr
status
Published
summary
新软件-聚合DNS
tags
software
service
type
Post
URL
 
notion image
notion image

Summary

安装过程

Cloud Service at Docker服务


mkdir -p ./web
mkdir -p ./mysql/conf
mkdir -p ./mysql/logs
mkdir -p ./mysql/data

vim mysql/conf/my.cnf
[mysqld]
sql_mode=STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION



docker exec -it dnsmgr-mysql /bin/bash
mysql -uroot -p123456
create database dnsmgr;




services:
  dnsmgr-web:
    container_name: dnsmgr-web
    restart: always
    stdin_open: true
    tty: true
    ports:
      - 42891:80
    volumes:
      - /data_n001/data/udata/real/1567/DockerSSD/netcccyun_dnsmgr/www:/app/www # Replace with your desired path for data persistence
    image: netcccyun/dnsmgr
    depends_on:
      - dnsmgr-mysql
  dnsmgr-mysql:
    container_name: dnsmgr-mysql
    restart: always
    #ports:
    # - 3306:3306
    volumes:
      - /data_n001/data/udata/real/1567/DockerSSD/netcccyun_dnsmgr/mysql/conf/my.cnf:/etc/mysql/my.cnf
      - /data_n001/data/udata/real/1567/DockerSSD/netcccyun_dnsmgr/mysql/logs:/logs
      - /data_n001/data/udata/real/1567/DockerSSD/netcccyun_dnsmgr/mysql/data:/var/lib/mysql
    environment:
      - MYSQL_ROOT_PASSWORD=123456
      - TZ=Asia/Shanghai
    image: mysql:5.7
networks:
  default:
    name: npm_nginx_proxy_manager-network
    external: true
docker compose down; docker compose up -d; sleep 1s; docker compose logs -f

# set up npm: -> http://dnsmgr-web:80
# set up zspace极空间 远程转发 -> http://ip:42891
 
notion image

先添加“域名账号”,然后”域名管理“

截图

Raw

 

© Ying Bun 2021 - 2025