-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.prod.yaml
69 lines (63 loc) · 1.89 KB
/
docker-compose.prod.yaml
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
services:
app:
container_name: lec-app-frontend
build:
context: front/lec-app
args:
VITE_MUNICIPALITIES_API_URL: /municipalities
VITE_BUILDINGS_API_URL: /buildings
VITE_GEOSERVER_API_URL: /geoserver
VITE_REPORT_API_URL: /report
image: moderate-lec/lec-app:$DOCKER_IMAGE_TAG
environment:
- WDS_SOCKET_PORT=3000
- MODERATE_GEOSERVER_PROXY_PASS_URL=http://geoserver:8080
- MODERATE_MUNICIPALITIES_SVC_PROXY_PASS_URL=http://municipalities_service:5000
- MODERATE_BUILDINGS_SVC_PROXY_PASS_URL=http://buildings_service:5000
- MODERATE_REPORT_SVC_PROXY_PASS_URL=http://report_service:5000
restart: always
ports:
- 80:80
municipalities_service:
container_name: municipalities-svc
build:
context: back/municipalities_svc
image: moderate-lec/municipalities-svc:$DOCKER_IMAGE_TAG
ports:
- 5000:5000
restart: always
buildings_service:
container_name: buildings-svc
build:
context: back/buildings_svc
image: moderate-lec/buildings-svc:$DOCKER_IMAGE_TAG
ports:
- 5001:5000
restart: always
report_service:
container_name: report-svc
build:
context: back/report_svc
image: moderate-lec/report-svc:$DOCKER_IMAGE_TAG
ports:
- 5002:5000
restart: always
geoserver:
container_name: geoserver-instance
image: kartoza/geoserver:2.24.2
ports:
- 8080:8080
restart: always
volumes:
- ./geoserver_data/data/municipalities:/opt/geoserver/data_dir/data/municipalities
- ./geoserver_data/workspaces/moderate_municipios:/opt/geoserver/data_dir/workspaces/moderate_municipios
docx-to-pdf:
image: moalhaddar/docx-to-pdf:2.1.0-12
container_name: docx-to-pdf
ports:
- "5003:8080"
environment:
- pool.size=2
# volumes:
# - ./fonts:/usr/share/fonts/custom
restart: always