Refactor PostgreSQL setup in Docker configuration

- Updated docker-compose.yml to use a pre-built PostgreSQL image instead of a custom build.
- Removed obsolete PostgreSQL Dockerfiles from the project.
- Updated composer.lock with a new content hash.
This commit is contained in:
ArnabChatterjee20k
2026-03-10 16:43:04 +05:30
parent e4178d9ae6
commit ca0656ce35
4 changed files with 2 additions and 27 deletions
Generated
+1 -4
View File
@@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically"
],
"content-hash": "7735bf70a628db88ecc483a57cd2d631",
"content-hash": "1280bf4d25db19f63b96db9fcd39f60b",
"packages": [
{
"name": "adhocore/jwt",
@@ -9138,8 +9138,5 @@
"platform-dev": {
"ext-fileinfo": "*"
},
"platform-overrides": {
"php": "8.3"
},
"plugin-api-version": "2.9.0"
}
+1 -4
View File
@@ -1321,10 +1321,7 @@ services:
- mongodb
postgresql:
build:
context: ./tests/resources/postgresql
args:
POSTGRES_VERSION: 17
image: appwrite/postgres:0.1.0
container_name: appwrite-postgresql
<<: *x-logging
networks:
-8
View File
@@ -1,8 +0,0 @@
FROM postgres:16
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
postgresql-16-postgis-3 \
postgresql-16-postgis-3-scripts \
postgresql-16-pgvector \
&& rm -rf /var/lib/apt/lists/*
-11
View File
@@ -1,11 +0,0 @@
ARG POSTGRES_VERSION=17
FROM postgres:${POSTGRES_VERSION}
ARG POSTGRES_VERSION=17
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
postgresql-${POSTGRES_VERSION}-postgis-3 \
postgresql-${POSTGRES_VERSION}-postgis-3-scripts \
postgresql-${POSTGRES_VERSION}-pgvector \
&& rm -rf /var/lib/apt/lists/*