From d6235d6c44756ed4daa3e5629acb5069f6876d3b Mon Sep 17 00:00:00 2001 From: Khiet Tam Nguyen <86177399+nktnet1@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:26:38 +1100 Subject: [PATCH] fix: port exposure description The current description: > Port Exposure: Use expose instead of ports to expose ports to the host machine. This ensures that the ports are not exposed to the host machine. is contradictory. --- apps/docs/content/docs/core/docker-compose/domains.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/docs/content/docs/core/docker-compose/domains.mdx b/apps/docs/content/docs/core/docker-compose/domains.mdx index 1091b02..6b419b5 100644 --- a/apps/docs/content/docs/core/docker-compose/domains.mdx +++ b/apps/docs/content/docs/core/docker-compose/domains.mdx @@ -162,7 +162,7 @@ Understanding Traefik Labels ## Important Considerations -1. **Port Exposure**: Use `expose` instead of `ports` to expose ports to the host machine. This ensures that the ports are not exposed to the host machine. +1. **Port Exposure**: Use `expose` instead of `ports` to limit port access to the container network, avoiding exposure to the host machine. 2. **DNS Configuration**: Ensure you create `A` records pointing to your domain in your DNS Provider Settings. 3. **HTTPS**: For HTTPS, you can use Let's Encrypt or other SSL/TLS certificates.