File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ apt install python3 python3-dev virtualenv gcc pkg-config libpng-dev libjpeg-dev
12
12
#### Database
13
13
14
14
```
15
- apt install postgresql postgresql-contrib
15
+ apt install postgresql postgresql-contrib postgresql-postgis
16
16
```
17
17
18
18
#### Web server
Original file line number Diff line number Diff line change 1
1
services :
2
2
postgres :
3
- image : postgres :17-alpine
3
+ image : postgis/postgis :17-3.5 -alpine
4
4
volumes :
5
5
- type : bind
6
6
source : ../tools/database/schema.sql
Original file line number Diff line number Diff line change 10
10
11
11
psql -v ON_ERROR_STOP=1 --username " $POSTGRES_USER " --dbname " osmose_frontend" << -EOSQL
12
12
CREATE EXTENSION IF NOT EXISTS pgcrypto;
13
+ CREATE EXTENSION IF NOT EXISTS postgis;
13
14
EOSQL
14
15
15
16
psql -v ON_ERROR_STOP=1 --username " osmose" --dbname " osmose_frontend" < /schema.sql
You can’t perform that action at this time.
0 commit comments