This repository was archived by the owner on Dec 17, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +71
-0
lines changed
Expand file tree Collapse file tree 3 files changed +71
-0
lines changed Original file line number Diff line number Diff line change 1+ FROM golang:1.5
2+
3+ # Install dependencies packages
4+ RUN apt-get update \
5+ && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
6+ libltdl-dev \
7+ mariadb-server \
8+ rabbitmq-server \
9+ mariadb-client-core-10.0 \
10+ nodejs \
11+ rsyslog \
12+
13+ && apt-get clean \
14+ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
15+
16+ EXPOSE 4000
17+
18+ RUN go get github.com/jsha/listenbuddy
19+ RUN go get bitbucket.org/liamstask/goose/cmd/goose
20+ RUN go get -v github.com/golang/lint/golint
21+
22+ ENV BOULDER_CONFIG /go/src/github.com/letsencrypt/boulder/test/boulder-config.json
23+ ENV GOPATH /go/src/github.com/letsencrypt/boulder/Godeps/_workspace:$GOPATH
24+
25+ RUN mkdir -p /go/src/github.com/letsencrypt \
26+ && git clone --depth 1 --branch master https://github.com/letsencrypt/boulder.git /go/src/github.com/letsencrypt/boulder
27+
28+ WORKDIR /go/src/github.com/letsencrypt/boulder
29+
30+ # Warmup
31+ RUN service mysql start \
32+ && service rabbitmq-server start \
33+ && service rsyslog start \
34+
35+ && test/create_db.sh \
36+ && GOBIN=/go/src/github.com/letsencrypt/boulder/bin go install ./... \
37+
38+ && service rsyslog stop \
39+ && service mysql stop \
40+ && service rabbitmq-server stop
41+
42+ COPY bin/entrypoint.sh /usr/bin
43+ COPY config/rate-limit-policies.yml /go/src/github.com/letsencrypt/boulder/test
44+
45+ ENTRYPOINT [ "/usr/bin/entrypoint.sh" ]
46+ CMD [ "./start.py" ]
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ service mysql start
4+ service rabbitmq-server start
5+ service rsyslog start
6+
7+ go run cmd/rabbitmq-setup/main.go -server amqp://localhost
8+
9+ exec " $@ "
Original file line number Diff line number Diff line change 1+ # See cmd/shell.go for definitions of these rate limits.
2+ totalCertificates :
3+ window : 1h
4+ threshold : 100000
5+ certificatesPerName :
6+ window : 1h
7+ threshold : 100000
8+ registrationsPerIP :
9+ window : 1h
10+ threshold : 100000
11+ pendingAuthorizationsPerAccount :
12+ window : 1h
13+ threshold : 100000
14+ certificatesPerFQDNSet :
15+ window : 24h
16+ threshold : 100000
You can’t perform that action at this time.
0 commit comments