diff --git a/docker/thirdparties/docker-compose/postgresql/init/03-create-extension.sql b/docker/thirdparties/docker-compose/postgresql/init/03-create-extension.sql new file mode 100644 index 0000000000..5237c544f8 --- /dev/null +++ b/docker/thirdparties/docker-compose/postgresql/init/03-create-extension.sql @@ -0,0 +1,18 @@ +-- Licensed to the Apache Software Foundation (ASF) under one +-- or more contributor license agreements. See the NOTICE file +-- distributed with this work for additional information +-- regarding copyright ownership. The ASF licenses this file +-- to you under the Apache License, Version 2.0 (the +-- "License"); you may not use this file except in compliance +-- with the License. You may obtain a copy of the License at +-- +-- http://www.apache.org/licenses/LICENSE-2.0 +-- +-- Unless required by applicable law or agreed to in writing, +-- software distributed under the License is distributed on an +-- "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +-- KIND, either express or implied. See the License for the +-- specific language governing permissions and limitations +-- under the License. + +CREATE EXTENSION IF NOT EXISTS postgis; diff --git a/docker/thirdparties/docker-compose/postgresql/init/03-insert.sql b/docker/thirdparties/docker-compose/postgresql/init/04-insert.sql similarity index 100% rename from docker/thirdparties/docker-compose/postgresql/init/03-insert.sql rename to docker/thirdparties/docker-compose/postgresql/init/04-insert.sql diff --git a/docker/thirdparties/docker-compose/postgresql/postgresql-14.yaml.tpl b/docker/thirdparties/docker-compose/postgresql/postgresql-14.yaml.tpl index bfa16e2d52..ae63c2b9bd 100644 --- a/docker/thirdparties/docker-compose/postgresql/postgresql-14.yaml.tpl +++ b/docker/thirdparties/docker-compose/postgresql/postgresql-14.yaml.tpl @@ -19,7 +19,7 @@ version: "2.1" services: doris--postgres: - image: postgres:14.1 + image: postgis/postgis:14-3.3 restart: always environment: POSTGRES_PASSWORD: 123456