forked from teksi/wastewater
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
46 lines (43 loc) · 990 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
38
39
40
41
42
43
44
45
46
version: '3'
services:
db:
build:
context: .
dockerfile: datamodel/.docker/Dockerfile
args:
POSTGIS_IMAGE: ${POSTGIS_IMAGE:-postgis/postgis:14-3.4}
image: teksi/tww:${DOCKER_TAG:-unstable}
working_dir: /src
volumes:
- .:/src
ports:
# making the postgres database accessible for debugging
- ${TWW_PG_PORT:-5432}:${TWW_PG_PORT:-5432}
qgis:
build:
context: .
dockerfile: plugin/.docker/Dockerfile
args:
QGIS_TEST_VERSION: ${QGIS_TEST_VERSION:-latest}
tty: true
volumes:
- .:/usr/src
links:
- db
profiles:
- qgis
schemaspy:
image: schemaspy/schemaspy
volumes:
- ./datamodel/schemaspy:/output
- ./datamodel/schemaspy.properties:/schemaspy.properties
depends_on:
- db
network_mode: "service:db"
command: [
"-configFile",
"/schemaspy.properties"
]
user: "${UID}:${GID}"
profiles:
- schemaspy