mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
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:
Generated
+1
-4
@@ -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
@@ -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:
|
||||
|
||||
@@ -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/*
|
||||
@@ -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/*
|
||||
Reference in New Issue
Block a user