Last active
September 17, 2022 01:11
-
-
Save fu-sen/51f61c517bdb53f606289a7f3c582af4 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 * /srv | |
# 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:alpine | |
COPY ./ /srv/ | |
COPY ./Caddyfile /etc/caddy/Caddyfile |
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