-
-
Save developer-guy/515e3067e01a456c672cd3d4d6a52214 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