Created
May 19, 2020 20:04
-
-
Save serafdev/0bc636a8f1413c6a731c2c2438e9ea6d to your computer and use it in GitHub Desktop.
Caddy Reverse Proxy example
This file contains hidden or 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
version: '3' | |
volumes: | |
caddy_data: | |
caddy_config: | |
services: | |
caddy: | |
image: caddy | |
volumes: | |
- caddy_data:/data | |
- caddy_config:/config | |
ports: | |
- 80:80 | |
- 443:443 | |
command: caddy reverse-proxy --from dydy.gcp.seraf.dev --to backend:8081 | |
backend: | |
build: | |
context: . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment