Skip to content

Commit

Permalink
Use LEGO instead of certbot. v1.0.304.
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Aug 10, 2023
1 parent 3b93f6b commit fbac68c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 11 deletions.
10 changes: 5 additions & 5 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -471,17 +471,17 @@ The software we depend on:
* Redis, `apt-get install -y redis`
* Nginx, `apt-get install -y nginx`
* SSL: `mgmt/containers/ssl`
* [Certbot](https://github.com/ossrs/srs/issues/2864#lets-encrypt), `docker --name certbot`
* [LEGO](https://github.com/go-acme/lego)
* Verify webroot: `mgmt/containers/www/.well-known/acme-challenge/`
* Cert files: `mgmt/containers/etc/letsencrypt/live/`
* [SRS](https://github.com/ossrs/srs), `docker --name srs-server`
* [SRS](https://github.com/ossrs/srs)
* Config: `mgmt/containers/conf/srs.conf` mount as `/usr/local/srs/conf/lighthouse.conf`
* Volume: `mgmt/containers/objs/nginx/html` mount as `/usr/local/srs/objs/nginx/html`
* [srs-hooks](https://github.com/ossrs/srs-cloud/tree/lighthouse/hooks), `docker --name srs-hooks`
* [srs-hooks](https://github.com/ossrs/srs-cloud/tree/lighthouse/hooks)
* Volume: `mgmt/containers/objs/nginx/html` mount as `/usr/local/mgmt/containers/objs/nginx/html`
* [tencent-cloud](https://github.com/ossrs/srs-cloud/tree/lighthouse/tencent), `docker --name tencent-cloud`
* [tencent-cloud](https://github.com/ossrs/srs-cloud/tree/lighthouse/tencent)
* [CAM](https://console.cloud.tencent.com/cam/overview) Authentication by secretId and secretKey.
* [ffmpeg](https://github.com/ossrs/srs-cloud/tree/lighthouse/ffmpeg), `docker --name ffmpeg`
* [ffmpeg](https://github.com/ossrs/srs-cloud/tree/lighthouse/ffmpeg)
* [FFmpeg and ffprobe](https://ffmpeg.org) tools in `ossrs/srs:node-av`

## Environments
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ The features that we're developing:
- [x] [Support aaPanel to install on any linux](https://github.com/ossrs/srs-cloud/issues/29).
- [x] [Support DVR to local disk](https://github.com/ossrs/srs-cloud/issues/42).
- [ ] Support upgrade to latest version manually.
- [ ] Support HTTPS by let's encrypt with certbot.
- [ ] Support HTTPS by let's encrypt with LEGO.
- [ ] Support GB28181 by SRS 5.0 container.
- [ ] Support live streaming transcoding by FFmpeg, see [#2869](https://github.com/ossrs/srs/issues/2869).
- [ ] Support virtual live streaming, covert file or other resource to live.
Expand Down
5 changes: 0 additions & 5 deletions focal/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,6 @@ FROM ${ARCH}redis:5.0 AS redis
# http://releases.ubuntu.com/focal/
FROM ${ARCH}ubuntu:focal AS dist

# https://serverfault.com/questions/949991/how-to-install-tzdata-on-a-ubuntu-docker-image
ENV DEBIAN_FRONTEND=noninteractive
# See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#apt-get
RUN apt update && apt-get install -y certbot && rm -rf /var/lib/apt/lists/*

COPY --from=build /usr/local/bin/ffmpeg /usr/local/bin/ffmpeg
COPY --from=build /usr/local/bin/ffprobe /usr/local/bin/ffprobe
# For HTTPS client, or failed as: x509: certificate signed by unknown authority
Expand Down

0 comments on commit fbac68c

Please sign in to comment.