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

github-merge-queue[bot] pushed a commit to branch release/v1.3
in repository https://gitbox.apache.org/repos/asf/texera.git


The following commit(s) were added to refs/heads/release/v1.3 by this push:
     new 87e01c7e70 docs(single-node, v1.3): use docker compose commands in the 
README (#9363)
87e01c7e70 is described below

commit 87e01c7e704d1464248e88e4bd8cd3ed24510851
Author: github-actions[bot] 
<41898282+github-actions[bot]@users.noreply.github.com>
AuthorDate: Sun Nov 8 00:59:50 2026 +0000

    docs(single-node, v1.3): use docker compose commands in the README (#9363)
    
    ### What changes were proposed in this PR?
    
    Automated backport of #9360 to `release/v1.3`.
    
    Source: 0adb38af016bb3ee04ca1150581b61249122bdcc · [automation
    run](https://github.com/apache/texera/actions/runs/42431348409)
    
    ### Any related issues, documentation, discussions?
    
    Backport of #9360.
    
    ### How was this PR tested?
    
    The backported tree built green before #9360 merged. Release-branch CI
    runs on this PR once it is reopened — see the comment below.
    
    ### Was this PR authored or co-authored using generative AI tooling?
    
    No.
    
    Co-authored-by: Meng Wang <[email protected]>
---
 bin/single-node/README.md | 37 +++++++++++++++++++++----------------
 1 file changed, 21 insertions(+), 16 deletions(-)

diff --git a/bin/single-node/README.md b/bin/single-node/README.md
index ed15df8223..2f935fad12 100644
--- a/bin/single-node/README.md
+++ b/bin/single-node/README.md
@@ -68,18 +68,20 @@ If any command produces output, that port is occupied by 
another process. You wi
 
 ## Launch Texera
 
-From the repo root, run:
+Enter the extracted directory and run the following command to start Texera:
 ```bash
-bin/single-node.sh up
+docker compose --profile examples up
 ```
 
-This pre-flights Docker, then runs `docker compose up -d` to start the stack 
in the background. The command returns once containers are started; tail any 
service with `bin/single-node.sh logs <service>`.
+This command will start docker containers that host the  Texera services, and 
pre-create two example workflows and datasets.
 
-To also pre-create two example workflows and datasets (the `examples` 
profile), add `--with-examples`:
+If you don't want to have these examples pre-created, run the following 
command instead:
 ```bash
-bin/single-node.sh up --with-examples
+docker compose up
 ```
 
+In a source checkout, run these commands in `bin/single-node/`. You can also 
run `bin/single-node.sh up` from the repo root (add `--with-examples` for the 
examples), which starts the same stack in the background.
+
 > If you see the error message like `unable to get image 'nginx:alpine': 
 > Cannot connect to the Docker daemon at 
 > unix:///Users/kunwoopark/.docker/run/docker.sock. Is the docker daemon 
 > running?`, please make sure Docker Desktop is installed and running
 
 > When you start Texera for the first time, it will take around 5 minutes to 
 > download needed images.
@@ -104,18 +106,21 @@ Input the default account `texera` with password 
`texera`, and then click on the
 ## Stop, Restart, and Uninstall Texera
 
 ### Stop
+Press `Ctrl+C` in the terminal to stop Texera.
+
+If you already closed the terminal, you can go to the installation folder and 
run:
 ```bash
-bin/single-node.sh down
+docker compose --profile examples stop
 ```
-Stops every container; data volumes are preserved so the next 
`bin/single-node.sh up` resumes where you left off.
+to stop Texera.
 
 ### Restart
-Same as the way you [launch Texera](#launch-texera) (`bin/single-node.sh up`).
+Same as the way you [launch Texera](#launch-texera).
 
 ### Uninstall
-To remove Texera and all its data:
+To remove Texera and all its data, go to the installation folder and run:
 ```bash
-bin/single-node.sh down --volumes
+docker compose --profile examples down -v
 ```
 > ⚠️ Warning: This will permanently delete all the data used by Texera.
 
@@ -188,9 +193,9 @@ For example, to change the folder of storing 
`workflow_result_data` to `/Users/j
        device: /Users/johndoe/texera/data
 ```
 
-If you already launched texera and want to change the data locations, existing 
data volumes need to be recreated and override in the next boot-up, i.e. select 
`y` when running `bin/single-node.sh up` again:
+If you already launched texera and want to change the data locations, existing 
data volumes need to be recreated and override in the next boot-up, i.e. select 
`y` when running `docker compose up` again:
 ```
-$ bin/single-node.sh up
+$ docker compose up
 ? Volume "texera-single-node-release-1-1-0_workflow_result_data" exists but 
doesn't match configuration in compose file. Recreate (data will be lost)? (y/N)
 y // answer y to this prompt
 ```
@@ -250,13 +255,13 @@ Stop the conflicting process, or change Texera's ports 
following the instruction
 
 ### Volume conflicts
 
-PostgreSQL only runs the database initialization scripts on first startup 
(when its data volume is empty). If you previously started Texera and then ran 
`bin/single-node.sh down` (without `--volumes`), the data volume still exists. 
On the next `bin/single-node.sh up`, the initialization is skipped, which can 
cause services like lakeFS to fail because their required databases were never 
created.
+PostgreSQL only runs the database initialization scripts on first startup 
(when its data volume is empty). If you previously started Texera and then ran 
`docker compose down` (without `-v`), the data volume still exists. On the next 
`docker compose up`, the initialization is skipped, which can cause services 
like lakeFS to fail because their required databases were never created.
 
 To resolve this, remove all existing volumes and start fresh:
 
 ```
-bin/single-node.sh down --volumes
-bin/single-node.sh up
+docker compose --profile examples down -v
+docker compose --profile examples up
 ```
 
-> ⚠️ Warning: `bin/single-node.sh down --volumes` permanently deletes all 
Texera data.
+> ⚠️ Warning: `docker compose --profile examples down -v` permanently deletes 
all Texera data.

Reply via email to