From 743dd27ce7a130a62846baf5350b8ba1acc196bc Mon Sep 17 00:00:00 2001 From: Andy Zhang <37402126+AnzhiZhang@users.noreply.github.com> Date: Tue, 7 Oct 2025 01:08:23 +0100 Subject: [PATCH 1/3] feat: remove version declaration from LakeFS docker-compose.yml --- core/file-service/src/main/resources/docker-compose.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/core/file-service/src/main/resources/docker-compose.yml b/core/file-service/src/main/resources/docker-compose.yml index fbef6cc3b5b..993025d789a 100644 --- a/core/file-service/src/main/resources/docker-compose.yml +++ b/core/file-service/src/main/resources/docker-compose.yml @@ -15,7 +15,6 @@ # specific language governing permissions and limitations # under the License. -version: "3.5" name: texera-lakefs services: minio: From 24fb5846bbbbce44db06bd671f0a9ec07d87bfea Mon Sep 17 00:00:00 2001 From: Andy Zhang <37402126+AnzhiZhang@users.noreply.github.com> Date: Tue, 7 Oct 2025 01:08:50 +0100 Subject: [PATCH 2/3] feat: update container names for minio, postgres, and lakefs services --- core/file-service/src/main/resources/docker-compose.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/core/file-service/src/main/resources/docker-compose.yml b/core/file-service/src/main/resources/docker-compose.yml index 993025d789a..b7d00689700 100644 --- a/core/file-service/src/main/resources/docker-compose.yml +++ b/core/file-service/src/main/resources/docker-compose.yml @@ -19,7 +19,7 @@ name: texera-lakefs services: minio: image: minio/minio:RELEASE.2025-02-28T09-55-16Z - container_name: minio + container_name: texera-lakefs-minio ports: - "9000:9000" - "9001:9001" @@ -33,7 +33,7 @@ services: postgres: image: postgres:15 - container_name: postgres + container_name: texera-lakefs-postgres restart: always environment: - POSTGRES_DB=texera_lakefs @@ -50,7 +50,7 @@ services: lakefs: image: treeverse/lakefs:1.51 - container_name: lakefs + container_name: texera-lakefs-lakefs depends_on: postgres: condition: service_healthy From a7d454563acc735abb86e669df36ea7d4390eac6 Mon Sep 17 00:00:00 2001 From: Andy Zhang <37402126+AnzhiZhang@users.noreply.github.com> Date: Tue, 7 Oct 2025 01:22:33 +0100 Subject: [PATCH 3/3] feat: update volume definitions for LakeFS containers --- .../src/main/resources/docker-compose.yml | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/core/file-service/src/main/resources/docker-compose.yml b/core/file-service/src/main/resources/docker-compose.yml index b7d00689700..0270275725f 100644 --- a/core/file-service/src/main/resources/docker-compose.yml +++ b/core/file-service/src/main/resources/docker-compose.yml @@ -27,9 +27,9 @@ services: - MINIO_ROOT_USER=texera_minio - MINIO_ROOT_PASSWORD=password command: server --console-address ":9001" /data -# Below lines are recommended to uncomment in order to persist your data even if the container dies -# volumes: -# - /path/to/your/local/directory:/data + # The lines below are recommended to mount a host path in order to persist your data even if the container is removed. + volumes: + - minio_data:/data postgres: image: postgres:15 @@ -44,9 +44,9 @@ services: interval: 10s retries: 5 start_period: 5s -# Ditto -# volumes: -# - /path/to/your/local/directory:/var/lib/postgresql/data + # Ditto + volumes: + - postgres_data:/var/lib/postgresql/data lakefs: image: treeverse/lakefs:1.51 @@ -88,4 +88,9 @@ services: networks: default: - name: texera-lakefs \ No newline at end of file + name: texera-lakefs + +# Named Docker volumes — uncomment the following lines if you mounted host paths above. +volumes: + minio_data: + postgres_data: