add env table. remove docker_build.sh

This commit is contained in:
dalbodeule 2024-07-19 12:56:21 +09:00
parent b29406db27
commit d09d6fd629
No known key found for this signature in database
GPG Key ID: EFA860D069C9FA65
2 changed files with 12 additions and 7 deletions

View File

@ -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 |

View File

@ -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 .