diff --git a/docker-compose.yaml b/docker-compose.yaml
index b0476d7..db72ddd 100644
--- a/docker-compose.yaml
+++ b/docker-compose.yaml
@@ -26,17 +26,19 @@ services:
     command: "--config=/etc/otel-collector-config.yaml"
     volumes:
       - ./otel-collector/config.yaml:/etc/otel-collector-config.yaml
-    ports:
-      - 4317:4317 # OTLP gRPC receiver
-      - 4318:4318 # OTLP http receiver
     expose:
-      - 13133:13133 # health_check extension
-      - 8889:8889 # Prometheus exporter metrics
-      - 8888:8888 # Prometheus metrics exposed by the Collector
+      - 4317 # OTLP gRPC receiver
+      - 4318 # OTLP http receiver
+    # expose:
+    #   - 13133:13133 # health_check extension
+    #   - 8889:8889 # Prometheus exporter metrics
+    #   - 8888:8888 # Prometheus metrics exposed by the Collector
     depends_on:
       - loki
       - prometheus
       - tempo
+    networks:
+      - www
 
   loki:
     image: grafana/loki:2.9.6
@@ -122,8 +124,6 @@ services:
     volumes:
       - grafana_data:/var/lib/grafana
       - ./grafana/datasources.yaml:/etc/grafana/provisioning/datasources/ds.yaml
-    ports:
-      - ${GRAFANA_PORT}:3000
     networks:
       - default
       - www