File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 99# Software versions.
1010PHP_VERSION=8.4
1111GEOSOP_VERSION=3.13.1
12- POSTGRES_VERSION=17
13- POSTGIS_VERSION=3
12+ POSTGRES_POSTGIS_VERSION=17-3.5
1413
1514# Paths.
1615SOURCES_PATH=/app
Original file line number Diff line number Diff line change @@ -32,18 +32,15 @@ services:
3232 - no-new-privileges
3333 postgres :
3434 container_name : ${COMPOSE_PROJECT_NAME}-postgres
35- build :
36- context : postgres
37- args :
38- - POSTGRES_VERSION
39- - POSTGIS_VERSION
35+ image : postgis/postgis:${POSTGRES_POSTGIS_VERSION}-alpine
4036 environment :
4137 - POSTGRES_USER=${POSTGRES_USER}
4238 - POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
4339 working_dir : /var/lib/postgresql/data
4440 cap_drop :
4541 - ALL
4642 cap_add :
43+ - CHOWN
4744 - DAC_OVERRIDE
4845 - SETGID
4946 - SETUID
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -134,8 +134,6 @@ function getRequiredEnv(string $name): string
134134 ],
135135 );
136136
137- $ pdo ->exec ('CREATE EXTENSION IF NOT EXISTS postgis; ' );
138-
139137 $ driver = new PdoPgsqlDriver ($ pdo );
140138 $ engine = new PostgisEngine ($ driver );
141139
You can’t perform that action at this time.
0 commit comments