This is an automated email from the ASF dual-hosted git repository.

jiadongb pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/main by this push:
     new 52c44c5ddd refactor: align docker-compose service and container names 
with image names (#4249)
52c44c5ddd is described below

commit 52c44c5ddd06c2804fbf103e2d1933948af3fac8
Author: Jiadong Bai <[email protected]>
AuthorDate: Mon Mar 2 17:39:53 2026 -0800

    refactor: align docker-compose service and container names with image names 
(#4249)
    
    ### What changes were proposed in this PR?
    
    This PR aligns docker-compose service names, container names, and
    comments with their corresponding image names for consistency across the
    single-node deployment:
    
    - Rename `computing-unit-master` to
    `workflow-runtime-coordinator-service`
    - Rename `texera-web-application` to `dashboard-service` (matching image
    name)
    - Remove `texera-` prefix to some service/container names
    
    ### Any related issues, documentation, discussions?
    
    N/A
    
    ### How was this PR tested?
    
    This is a naming-only refactor with no behavioral changes. Tested by
    running `docker compose up` and all services are working
    
    ### Was this PR authored or co-authored using generative AI tooling?
    
    Generated-by: Claude Code (Claude Opus 4.6)
    
    ---------
    
    Co-authored-by: Claude Opus 4.6 <[email protected]>
---
 bin/single-node/.env               |  4 ++--
 bin/single-node/docker-compose.yml | 29 ++++++++++++++---------------
 bin/single-node/nginx.conf         | 16 ++++++++--------
 3 files changed, 24 insertions(+), 25 deletions(-)

diff --git a/bin/single-node/.env b/bin/single-node/.env
index 6376b19b83..2c949de0fb 100644
--- a/bin/single-node/.env
+++ b/bin/single-node/.env
@@ -52,8 +52,8 @@ STORAGE_LAKEFS_ENDPOINT=http://texera-lakefs:8000/api/v1
 
STORAGE_JDBC_URL=jdbc:postgresql://texera-postgres:5432/texera_db?currentSchema=texera_db,public
 STORAGE_JDBC_USERNAME=texera
 STORAGE_JDBC_PASSWORD=password
-FILE_SERVICE_GET_PRESIGNED_URL_ENDPOINT=http://texera-file-service:9092/api/dataset/presign-download
-FILE_SERVICE_UPLOAD_ONE_FILE_TO_DATASET_ENDPOINT=http://texera-file-service:9092/api/dataset/did/upload
+FILE_SERVICE_GET_PRESIGNED_URL_ENDPOINT=http://file-service:9092/api/dataset/presign-download
+FILE_SERVICE_UPLOAD_ONE_FILE_TO_DATASET_ENDPOINT=http://file-service:9092/api/dataset/did/upload
 
STORAGE_ICEBERG_CATALOG_POSTGRES_URI_WITHOUT_SCHEME=texera-postgres:5432/texera_iceberg_catalog
 STORAGE_ICEBERG_CATALOG_POSTGRES_USERNAME=texera
 STORAGE_ICEBERG_CATALOG_POSTGRES_PASSWORD=password
diff --git a/bin/single-node/docker-compose.yml 
b/bin/single-node/docker-compose.yml
index 8d2621bac6..09dff1fa7d 100644
--- a/bin/single-node/docker-compose.yml
+++ b/bin/single-node/docker-compose.yml
@@ -79,7 +79,7 @@ services:
   # FileService provides endpoints for Texera's dataset management
   file-service:
     image: 
${IMAGE_REGISTRY:-ghcr.io/apache}/texera-file-service:${IMAGE_TAG:-latest}
-    container_name: texera-file-service
+    container_name: file-service
     restart: always
     depends_on:
       minio:
@@ -97,7 +97,7 @@ services:
   # ConfigService provides endpoints for configuration management
   config-service:
     image: 
${IMAGE_REGISTRY:-ghcr.io/apache}/texera-config-service:${IMAGE_TAG:-latest}
-    container_name: texera-config-service
+    container_name: config-service
     restart: always
     depends_on:
       postgres:
@@ -113,7 +113,7 @@ services:
   # AccessControlService handles user permissions and access control
   access-control-service:
     image: 
${IMAGE_REGISTRY:-ghcr.io/apache}/texera-access-control-service:${IMAGE_TAG:-latest}
-    container_name: texera-access-control-service
+    container_name: access-control-service
     restart: always
     depends_on:
       postgres:
@@ -129,7 +129,7 @@ services:
   # WorkflowComputingUnitManagingService provides endpoints for managing 
computing units
   workflow-computing-unit-managing-service:
     image: 
${IMAGE_REGISTRY:-ghcr.io/apache}/texera-workflow-computing-unit-managing-service:${IMAGE_TAG:-latest}
-    container_name: texera-workflow-computing-unit-managing-service
+    container_name: workflow-computing-unit-managing-service
     restart: always
     depends_on:
       postgres:
@@ -145,7 +145,7 @@ services:
   # WorkflowCompilingService provides endpoints for sanity check and schema 
propagation while workflows are being edited
   workflow-compiling-service:
     image: 
${IMAGE_REGISTRY:-ghcr.io/apache}/texera-workflow-compiling-service:${IMAGE_TAG:-latest}
-    container_name: texera-workflow-compiling-service
+    container_name: workflow-compiling-service
     restart: always
     depends_on:
       file-service:
@@ -158,11 +158,10 @@ services:
       timeout: 3s
       retries: 10
 
-  # ComputingUnitMaster provides endpoints for executing workflows and 
interactions during executions.
-  computing-unit-master:
-    # to enable R operators, change the image tag to 
single-node-release-1-1-0-incubating-R
+  # WorkflowRuntimeCoordinatorService provides endpoints for executing 
workflows and interactions during executions.
+  workflow-runtime-coordinator-service:
     image: 
${IMAGE_REGISTRY:-ghcr.io/apache}/texera-workflow-execution-coordinator:${IMAGE_TAG:-latest}
-    container_name: texera-computing-unit-master
+    container_name: workflow-runtime-coordinator-service
     restart: always
     depends_on:
       workflow-compiling-service:
@@ -172,13 +171,13 @@ services:
     volumes:
       - workflow_result_data:/amber/user-resources
 
-  # TexeraWebApplication provides endpoints for hub resource management.
-  texera-web-application:
+  # DashboardService provides endpoints for hub resource management.
+  dashboard-service:
     image: 
${IMAGE_REGISTRY:-ghcr.io/apache}/texera-dashboard-service:${IMAGE_TAG:-latest}
-    container_name: texera-web-application
+    container_name: dashboard-service
     restart: always
     depends_on:
-      computing-unit-master:
+      workflow-runtime-coordinator-service:
         condition: service_started
       workflow-compiling-service:
         condition: service_healthy
@@ -201,8 +200,8 @@ services:
     depends_on:
       - workflow-compiling-service
       - file-service
-      - texera-web-application
-      - computing-unit-master
+      - dashboard-service
+      - workflow-runtime-coordinator-service
       - config-service
       - access-control-service
       - workflow-computing-unit-managing-service
diff --git a/bin/single-node/nginx.conf b/bin/single-node/nginx.conf
index 4bdf8baf56..7ab4295a2b 100644
--- a/bin/single-node/nginx.conf
+++ b/bin/single-node/nginx.conf
@@ -25,43 +25,43 @@ http {
         listen 8080;
 
         location /api/compile {
-            proxy_pass http://texera-workflow-compiling-service:9090;
+            proxy_pass http://workflow-compiling-service:9090;
             proxy_set_header Host $host;
             proxy_set_header X-Real-IP $remote_addr;
         }
 
         location /api/dataset {
-            proxy_pass http://texera-file-service:9092;
+            proxy_pass http://file-service:9092;
             proxy_set_header Host $host;
             proxy_set_header X-Real-IP $remote_addr;
         }
 
         location /api/access/dataset/ {
-            proxy_pass http://texera-file-service:9092;
+            proxy_pass http://file-service:9092;
             proxy_set_header Host $host;
             proxy_set_header X-Real-IP $remote_addr;
         }
 
         location /api/config {
-            proxy_pass http://texera-config-service:9094;
+            proxy_pass http://config-service:9094;
             proxy_set_header Host $host;
             proxy_set_header X-Real-IP $remote_addr;
         }
 
         location /api/computing-unit {
-            proxy_pass 
http://texera-workflow-computing-unit-managing-service:8888;
+            proxy_pass http://workflow-computing-unit-managing-service:8888;
             proxy_set_header Host $host;
             proxy_set_header X-Real-IP $remote_addr;
         }
 
         location /api/ {
-            proxy_pass http://texera-web-application:8080;
+            proxy_pass http://dashboard-service:8080;
             proxy_set_header Host $host;
             proxy_set_header X-Real-IP $remote_addr;
         }
 
         location /wsapi/ {
-            proxy_pass http://texera-computing-unit-master:8085;
+            proxy_pass http://workflow-runtime-coordinator-service:8085;
             proxy_http_version 1.1;
             proxy_set_header Upgrade $http_upgrade;
             proxy_set_header Connection "upgrade";
@@ -70,7 +70,7 @@ http {
 
         # Fallback for all other routes
         location / {
-            proxy_pass http://texera-web-application:8080;
+            proxy_pass http://dashboard-service:8080;
             proxy_set_header Host $host;
             proxy_set_header X-Real-IP $remote_addr;
         }

Reply via email to