-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (34 loc) · 920 Bytes
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
name: mvt
services:
db:
container_name: mvt-db
image: postgis/postgis:16-3.4
environment:
PGDATA: /var/lib/postgresql/data
POSTGRES_USER: mvt
POSTGRES_PASSWORD: mvt
POSTGRES_DB: mvt
TZ: "Europe/Paris"
volumes:
- db-data:/var/lib/postgresql/data
- ./sql-data/bbox.sql:/docker-entrypoint-initdb.d/init1.sql:ro
#
- ./sql-data:/sql-data:ro
#
# - ./sql-data/demo_mvt_cadastre.sql:/docker-entrypoint-initdb.d/init1.sql:ro
# - ./sql-data/demo_mvt_geofla.sql:/docker-entrypoint-initdb.d/init2.sql:ro
# - ./sql-data/set-dep-geom.sql:/docker-entrypoint-initdb.d/init3.sql:ro
# - ./sql-data/bbox.sql:/docker-entrypoint-initdb.d/init4.sql:ro
ports:
- "5432:5432"
logging:
options:
max-size: "10k"
max-file: "20"
networks:
- mvt
volumes:
db-data:
networks:
mvt:
name: 'mvt'