File tree 4 files changed +3
-15
lines changed
4 files changed +3
-15
lines changed Original file line number Diff line number Diff line change 9
9
# Software versions.
10
10
PHP_VERSION=8.4
11
11
GEOSOP_VERSION=3.13.1
12
- POSTGRES_VERSION=17
13
- POSTGIS_VERSION=3
12
+ POSTGRES_POSTGIS_VERSION=17-3.5
14
13
15
14
# Paths.
16
15
SOURCES_PATH=/app
Original file line number Diff line number Diff line change @@ -32,18 +32,15 @@ services:
32
32
- no-new-privileges
33
33
postgres :
34
34
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
40
36
environment :
41
37
- POSTGRES_USER=${POSTGRES_USER}
42
38
- POSTGRES_PASSWORD=${POSTGRES_PASSWORD}
43
39
working_dir : /var/lib/postgresql/data
44
40
cap_drop :
45
41
- ALL
46
42
cap_add :
43
+ - CHOWN
47
44
- DAC_OVERRIDE
48
45
- SETGID
49
46
- 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
134
134
],
135
135
);
136
136
137
- $ pdo ->exec ('CREATE EXTENSION IF NOT EXISTS postgis; ' );
138
-
139
137
$ driver = new PdoPgsqlDriver ($ pdo );
140
138
$ engine = new PostgisEngine ($ driver );
141
139
You can’t perform that action at this time.
0 commit comments