Last active
December 20, 2020 11:28
-
-
Save serafdev/8f8213aa20dc835eba95ad3f4878e3c0 to your computer and use it in GitHub Desktop.
Caddy Reverse Proxy docker-compose.yml
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 localhost --to backend:8081 | |
backend: | |
build: | |
context: . |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment