diff --git a/README.md b/README.md index 20fd198..a4b8cca 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,18 @@ > Version v1.0.0 +## env Table +| name | value | +| --- |-----------------------------------------------------------------------| +| DB_HOST | database host (mysql/mariadb) | +| DB_PORT | database port (3306) | +| DB_NAME | database name | +| DB_USER | database connect user | +| DB_PASSWORD | database connect password | +| PDNS_API_KEY | PowerDNS Auth API Key | +| PDNS_API_URL | PowerDNS HTTP API URL (contain host, port ex: http://pdns:8081) | +| PDNS_NS | Nameserver addresses with comma splitted. (ns1.sh0rt.kr,ns2.sh0rt.kr) | + ## Path Table | Method | Path | Description | diff --git a/docker_build.sh b/docker_build.sh deleted file mode 100755 index e65f1b9..0000000 --- a/docker_build.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -# 현재 날짜와 시간을 YYMMDD(AM/PM)HHMM 형식으로 설정 -current_time=$(date +'%y%m%d%p%H%M') - -# Docker 이미지 빌드 명령 실행 -docker build --no-cache -t dalbodeule/dnsapi:$current_time -t dalbodeule/dnsapi:latest . \ No newline at end of file