-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
134 lines (128 loc) · 3.91 KB
/
docker-compose.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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
version: '3'
services:
proxy:
image: nginx:stable
ports:
- "3000:80"
volumes:
- ./services/proxy/configs/default.conf:/etc/nginx/conf.d/default.conf
- ./services/proxy/configs/vhosts:/etc/nginx/conf.d/sites-enabled
# PostGIS
postgis:
container_name: "unitac_postgis"
image: postgis/postgis:14-master
volumes:
- ./services/postgis/data/pg_data:/var/lib/postgresql
env_file:
- ./services/postgis/configs/postgis
# Masterportal
masterportal:
container_name: "unitac_cosi"
image: node:16.16
user: node
command: 'npx serve ./dist/temp'
working_dir: /home/node/workspace
volumes:
- ./services/masterportal/code:/home/node/workspace
- ../hcu-unitac-cosi:/home/node/workspace/addons
- ../hcu-mpportalconfigs/cosi:/home/node/workspace/portal
env_file:
- ./services/masterportal/configs/masterportal
# CoSI
cosi:
container_name: "unitac_cosi"
image: node:16.16
user: node
command: 'npm start'
working_dir: /home/node/workspace
volumes:
- ./services/cosi/code:/home/node/workspace
env_file:
- ./services/cosi/configs/cosi
# Dipas
dipas:
container_name: "unitac_dipas_glue_nginx"
image: nginx:1.21
depends_on:
- postgis
- dipas_apache
- dipas_vue
ports:
- "8089:80"
volumes:
- ./services/dipas/docker/nginx/nginx.conf:/etc/nginx/nginx.conf
dipas_apache:
container_name: "unitac_dipas_apache"
image: bitnami/apache:2.4.41
depends_on:
- dipas_php
volumes:
- ./services/dipas/code:/app:delegated
- ./services/dipas/code/.htaccess:/opt/bitnami/apache/conf/htaccess/.htaccess
- ./services/dipas/docker/apache/dipas_vhost.conf:/vhosts/my_vhost.conf:ro
#- ../cosi/code/dist:/app/:delegated
dipas_php:
container_name: "unitac_dipas_php"
build:
context: ./services/dipas/docker/php
dockerfile: ./services/dipas/docker/php/Dockerfile-php
ports:
- "2222:22"
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- ./services/dipas/code:/app:delegated
- ./services/dipas/configs/drupal.database-settings.php:/app/config/drupal.database-settings.php:delegated
- ./services/dipas/docker/php/php.ini:/opt/bitnami/php/etc/conf.d/php.ini:ro
- ./services/dipas/docker/php/pg.ini:/opt/bitnami/php/etc/conf.d/pg.ini:ro
env_file:
- ./services/dipas/configs/backend_php
dipas_database_frontend:
container_name: "dipas_pgadmin"
image: dpage/pgadmin4:5
ports:
- "8888:80"
env_file:
- ./services/dipas/configs/pgadmin
dipas_vue:
container_name: "unitac_dipas_vue"
build:
context: ./services/dipas/code
dockerfile: ./services/dipas/docker/vue/Dockerfile-vue
ports:
- "8081:8080"
volumes:
- ./services/dipas/code:/usr/src/app/
dipas_githook:
build:
context: ./services/dipas/code
dockerfile: ./services/dipas/docker/githooks/Dockerfile.githooks
volumes:
- ./services/dipas/code/.git:/tmp/.git
- ./services/dipas/code/hooks:/tmp/hooks
# Geoserver
geoserver:
container_name: "unitac_geoserver"
image: kartoza/geoserver:latest
ports:
- "8080"
depends_on:
- postgis
volumes:
- ./services/geoserver/data/geoserver:/opt/geoserver/data_dir
env_file:
- ./services/geoserver/configs/geoserver
# Open Route Service
#open_route_service:
# container_name: "unitac_open-route-service"
# image: openrouteservice/openrouteservice:latest
# user: "${ORS_UID:-0}:${ORS_GID:-0}"
# volumes:
# - ./data/graphs:/ors-core/data/graphs
# - ./data/elevation_cache:/ors-core/data/elevation_cache
# - ./data/conf:/ors-conf
# #- ./data/import/your_osm.pbf:/ors-core/data/osm_file.pbf
# - ./logs/ors:/var/log/ors
# - ./logs/tomcat:/usr/local/tomcat/logs
# env_file:
# - ./configs/open-route-service