feat(caddy): expose miccheck-qa admin/api on local domains
Joins caddy to miccheck-qa-net so it can reverse-proxy to the admin/api containers by name. Uses self-signed internal TLS since miccheck-qa.com is a local-only hosts-file domain, not a real zone. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -34,8 +34,12 @@ services:
|
|||||||
cpus: '0.5'
|
cpus: '0.5'
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
- miccheck-qa-net
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy:
|
proxy:
|
||||||
name: proxy
|
name: proxy
|
||||||
external: true
|
external: true
|
||||||
|
miccheck-qa-net:
|
||||||
|
name: miccheck-qa-net
|
||||||
|
external: true
|
||||||
|
|||||||
@@ -84,3 +84,15 @@
|
|||||||
localhost {
|
localhost {
|
||||||
respond "Hello, world!"
|
respond "Hello, world!"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
admin.miccheck-qa.com {
|
||||||
|
tls internal
|
||||||
|
encode gzip
|
||||||
|
reverse_proxy admin:80
|
||||||
|
}
|
||||||
|
|
||||||
|
api.miccheck-qa.com {
|
||||||
|
tls internal
|
||||||
|
encode gzip
|
||||||
|
reverse_proxy api:8080
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user