Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions bin/single-node/.env
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
# under the License.

TEXERA_HOST=http://localhost
TEXERA_PORT=8080
MINIO_PORT=9000

# Log level for all Texera services (valid values: ERROR, WARN, INFO, DEBUG)
TEXERA_SERVICE_LOG_LEVEL=INFO
Expand Down
24 changes: 21 additions & 3 deletions bin/single-node/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ services:
image: minio/minio:RELEASE.2025-02-28T09-55-16Z
container_name: texera-minio
ports:
- "9000:9000"
- "${MINIO_PORT:-9000}:9000"
env_file:
- .env
volumes:
Expand Down Expand Up @@ -62,7 +62,7 @@ services:
- .env
environment:
# This port also need to be changed if the port of MinIO service is changed
- LAKEFS_BLOCKSTORE_S3_PRE_SIGNED_ENDPOINT=${TEXERA_HOST}:9000
- LAKEFS_BLOCKSTORE_S3_PRE_SIGNED_ENDPOINT=${TEXERA_HOST}:${MINIO_PORT:-9000}
entrypoint: ["/bin/sh", "-c"]
command:
- |
Expand Down Expand Up @@ -209,7 +209,25 @@ services:
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "8080:8080"
- "${TEXERA_PORT:-8080}:8080"

startup-message:
image: alpine:latest
depends_on:
nginx:
condition: service_started
environment:
- TEXERA_PORT=${TEXERA_PORT:-8080}
restart: "no"
command: >
sh -c '
echo "";
echo "=========================================";
echo " Texera is starting up!";
echo " Access at: http://localhost:$$TEXERA_PORT";
echo "=========================================";
echo "";
'

networks:
default:
Expand Down
Loading