-
-
Save mjyoung/3135676224ddc59ba558100a6cb58f31 to your computer and use it in GitHub Desktop.
Caddy v2 (Officical Docker Image) with Google Cloud Run (Freely editable Caddyfile) https://caddy.community/t/caddy-works-with-google-cloud-run/6898
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
:{$PORT} | |
root * /usr/share/caddy | |
# Do not rewrite up to this point! | |
file_server | |
templates |
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
FROM caddy/caddy:alpine | |
COPY ./ /usr/share/caddy/ | |
USER root | |
COPY ./Caddyfile /etc/caddy/ |
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
{{.Host}} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment