generated from geoadmin/template-service-flask
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-ci.yml
41 lines (41 loc) · 1006 Bytes
/
docker-compose-ci.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
38
39
40
41
version: "3.4"
services:
wms-bod:
image: camptocamp/mapserver:7.6
environment:
- MS_DEBUGLEVEL=0
- LISTEN_PORT_80=1
volumes:
- type: bind
source: ${PWD}/scripts/local-mapserver/inline_points.map
target: /etc/mapserver/mapserver.map
db:
image: kartoza/postgis:12.0
environment:
- POSTGRES_DB=bod_local
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- type: bind
source: ${PWD}/scripts/sql/init_local_db.sql
target: /docker-entrypoint-initdb.d/setup-db.sql
app:
image: "974517877189.dkr.ecr.eu-central-1.amazonaws.com/service-wmts-ci"
build:
context: .
target: unittest
entrypoint:
- /scripts/wait-for-it.sh
- db:5432
- --
- nose2
- -c tests/unittest.cfg
- --verbose
- -s
- tests/
env_file:
.env.ci
environment:
LOGGING_CFG: /service-wmts/config/logging-cfg-ci.yml
depends_on:
- db