-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
swo0k
committed
Dec 19, 2018
1 parent
9089a07
commit ee4476d
Showing
1 changed file
with
37 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,41 @@ | ||
# r53Server | ||
|
||
[![Docker Repository on Quay](https://quay.io/repository/swo0k/r53server/status?token=6ae97470-ce13-47d4-a054-7b992f6507b2 "Docker Repository on Quay")](https://quay.io/repository/swo0k/r53server) | ||
[![Build Status](https://travis-ci.org/so0k/r53Server.svg?branch=master)](https://travis-ci.org/so0k/r53Server) | ||
|
||
Static server for A records in r53 zones. | ||
|
||
based on jessfraz/s3Server | ||
based on [jessfraz/s3server](https://github.com/jessfraz/s3server) | ||
|
||
## Usage | ||
|
||
``` | ||
Server to index & view recods in r53 zones. | ||
Version: v0.1.0 | ||
Build: 9089a07-dirty | ||
-aws-access-key-id string | ||
AWS access key | ||
-aws-secret-access-key string | ||
AWS access secret | ||
-interval string | ||
interval to generate new index.html's at (default "5m") | ||
-p string | ||
port for server to run on (default "8080") | ||
-v print version and exit (shorthand) | ||
-version | ||
print version and exit | ||
-zone value | ||
Route53 Zone Id to fetch records from (can be repeated) | ||
``` | ||
|
||
## Docker | ||
|
||
``` | ||
docker run -d \ | ||
-p 8080:8080 \ | ||
-e AWS_ACCESS_KEY_ID \ | ||
-e AWS_SECRET_ACCESS_KEY \ | ||
so0k/r53server \ | ||
-zone Z2UE.......... \ | ||
-zone Z1W........... | ||
``` |