mirror of
https://github.com/dalbodeule/sh0rt.kr-pdns.git
synced 2025-06-08 10:48:20 +00:00
add env table. remove docker_build.sh
This commit is contained in:
parent
b29406db27
commit
d09d6fd629
12
README.md
12
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 |
|
||||
|
@ -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 .
|
Loading…
x
Reference in New Issue
Block a user