abiosoft/caddy-docker — 785★ trên GitHub (Shell). Docker container for Caddy
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
A Docker image for Caddy. This image includes git, cors, realip, expires, cache and cloudflare plugins.
Plugins can be configured via the plugins build arg.
Check abiosoft/caddy:builder for generating cross-platform Caddy binaries.
License
This image is built from source code. As such, it is subject to the project's Apache 2.0 license, but it neither contains nor is subject to the EULA for Caddy's official binary distributions.
Let's Encrypt Subscriber Agreement
Caddy may prompt to agree to Let's Encrypt Subscriber Agreement. This is configurable with ACME_AGREE environment variable. Set it to true to agree. ACME_AGREE=true.
Telemetry Stats
Starting from v0.11.0, Telemetry stats are submitted to Caddy by default. To use Caddy without telemetry, use the :no-stats or :<version>-no-stats tags. e.g. :0.11.0-no-stats, :0.11.0-php-no-stats.
Getting Started
$ docker run -d -p 2015:2015 abiosoft/caddy
Point your browser to http://127.0.0.1:2015.
Be aware! If you don't bind mount the location certificates are saved to, you may hit Let's Encrypt rate limits rending further certificate generation or renewal disallowed (for a fixed period)! See "Saving Certificates" below!
Saving Certificates
Save certificates on host machine to prevent regeneration every time container starts.
Let's Encrypt has rate limit.
Above, we utilize the CADDYPATH environment variable to define a different location inside the container for
certificates to be stored. This is probably the safest option as it ensures any future docker image changes don't interfere with your ability to save certificates!
PHP
:[<version>-]php variant of this image bundles PHP-FPM alongside essential php extensions and composer. e.g. :php, :0.10.14-php
$ docker run -d -p 2015:2015 abiosoft/caddy:php
Point your browser to http://127.0.0.1:2015 and you will see a php info page.
Local php source
Replace /path/to/php/src with your php sources directory.
$ docker run -d -v /path/to/php/src:/srv -p 2015:2015 abiosoft/caddy:php
Point your browser to http://127.0.0.1:2015.
Note
Your Caddyfile must include the line on startup php-fpm7. For Caddy to be PID 1 in the container, php-fpm7 could not be started.
Using git sources
Caddy can serve sites from git repository using git plugin.
Create Caddyfile
Replace github.com/abiosoft/webtest with your repository.
Note that this does not work on local environments.
Use a valid domain and add email to your Caddyfile to avoid prompt at runtime.
Replace mydomain.com with your domain and [email protected] with your email.
Có — abiosoft/caddy-docker phát hành theo license MIT, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/abiosoft/caddy-docker.
abiosoft/caddy-docker có trang demo không?
Dự án có trang chủ ở https://hub.docker.com/r/abiosoft/caddy/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
abiosoft/caddy-docker dùng license gì?
abiosoft/caddy-docker phát hành theo license MIT. Nên mở file LICENSE trên GitHub để xác nhận — license metadata đôi khi lệch với thực tế dự án.
abiosoft/caddy-docker là gì?
abiosoft/caddy-docker (abiosoft/caddy-docker) là dự án Shell trên GitHub. Theo mô tả gốc: Docker container for Caddy
Cùng nhóm Backend còn repo nào?
abiosoft/caddy-docker thuộc nhóm Backend trên TopGit, cùng 6 topic GitHub. Trang Trending và Topics liệt kê các repo cùng số sao và cùng ngôn ngữ để so sánh.
Đọc thêm về abiosoft/caddy-docker ở đâu?
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/abiosoft/caddy-docker là nguồn chính thức.
Vì sao abiosoft/caddy-docker được xếp vào nhóm Backend?
TopGit xếp abiosoft/caddy-docker vào nhóm Backend dựa trên GitHub topics và mô tả của repo (gắn thẻ: "caddy", "container", "docker"). Việc phân loại dựa trên metadata thật của repo, không phải đoán theo cảm tính biên tập.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về caddy-docker?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về caddy-docker.