Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
PROJECT := rancher-letsencrypt
PLATFORMS := linux
ARCH := amd64
DOCKER_IMAGE := pile.mdk.zone/mdkbackend/letencrypt
DOCKER_REPOSITORY := pile.mdk.zone/mdkbackend/letencrypt
DOCKER_IMAGE := $(DOCKER_REPOSITORY)/$(PROJECT)

VERSION := $(shell cat VERSION)
SHA := $(shell git rev-parse --short HEAD)
Expand All @@ -28,6 +29,9 @@ help:
build: build-dir
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -ldflags "-X main.Version=$(VERSION) -X main.Git=$(SHA)" -o build/$(PROJECT)-linux-amd64

docker-build:
docker run --rm -it -v "$(PWD)":/opt/src/rancher-letsencrypt golang:1.12 bash /opt/src/rancher-letsencrypt/scripts/build.sh

deps:
go get github.com/c4milo/github-release

Expand Down
16 changes: 14 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
[circleci]: https://circleci.com/gh/vxcontrol/rancher-letsencrypt
[hub]: https://hub.docker.com/r/vxcontrol/rancher-letsencrypt/

**This repository is a maintained fork from unmaintained work done by [janeczku](https://github.com/janeczku)**

https://github.com/janeczku/rancher-letsencrypt

A [Rancher](http://rancher.com/rancher/) service that obtains free SSL/TLS certificates from the [Let's Encrypt CA](https://letsencrypt.org/), adds them to Rancher's certificate store and manages renewal and propagation of updated certificates to load balancers.

#### Requirements
Expand Down Expand Up @@ -161,9 +165,17 @@ Then make sure that HTTP requests to `domain.com/.well-known/acme-challenge` are

![Rancher Load Balancer Let's Encrypt Targets](https://cloud.githubusercontent.com/assets/198988/22224463/0d1eb4aa-e1bf-11e6-955c-5f0d085ce8cd.png)

### Building the image
### How to build the development image

`make build && make image`
1. Compile the tool with go v1.12.
```
make docker-build
```
2. Set your own repository by setting `DOCKER_REPOSITORY` in Makefile.
3. Build the image.
```
make image
```

### Contributions

Expand Down