-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose-development.yml
141 lines (141 loc) · 4.77 KB
/
docker-compose-development.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
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
135
136
137
138
139
140
141
# This docker-compose file defines the development environment
# Author: Manuel Bernal Llinares <mbdebian@gmail.com>
version: "3.5"
services:
postgresql:
container_name: reg-postgres-spa
image: postgres
environment:
- POSTGRES_DB=devdatabase
- POSTGRES_USER=devusername
- POSTGRES_PASSWORD=devpassword
ports:
- "5431:5432"
networks:
- satwebspanet
volumes:
- "../db/registry:/docker-entrypoint-initdb.d"
hqregistry:
container_name: hqregistry
image: identifiersorg/cloud-hq-ws-registry
environment:
- HQ_WS_REGISTRY_CONFIG_JDBC_URL=jdbc:postgresql://postgresql:5432/devdatabase
- HQ_WS_REGISTRY_CONFIG_RDBMS_USERNAME=devusername
- HQ_WS_REGISTRY_CONFIG_RDBMS_PASSWORD=devpassword
- HQ_WS_REGISTRY_CONFIG_BACKEND_SERVICE_MIRID_CONTROLLER_HOST=hqmiridcontroller
- HQ_WS_REGISTRY_CONFIG_BACKEND_SERVICE_MIRID_CONTROLLER_PORT=8181
- HQ_WS_REGISTRY_CONFIG_APPLICATION_ACTIVE_PROFILE=authdisabled
ports:
- "8180:8180"
networks:
- satwebspanet
depends_on:
- postgresql
- hqmiridcontroller
miridpostgresql:
container_name: postgres
image: postgres
environment:
- POSTGRES_DB=devdatabase
- POSTGRES_USER=devusername
- POSTGRES_PASSWORD=devpassword
ports:
- "5432:5432"
networks:
- satwebspanet
volumes:
- "../db/mirid-controller:/docker-entrypoint-initdb.d"
hqmiridcontroller:
container_name: hqmiridcontroller
image: identifiersorg/cloud-hq-ws-mirid-controller
environment:
- HQ_WS_MIRID_CONTROLLER_CONFIG_JDBC_URL=jdbc:postgresql://miridpostgresql:5432/devdatabase
- HQ_WS_MIRID_CONTROLLER_CONFIG_RDBMS_USERNAME=devusername
- HQ_WS_MIRID_CONTROLLER_CONFIG_RDBMS_PASSWORD:devpassword
- HQ_WS_MIRID_CONTROLLER_CONFIG_REDIS_HOST=redis
- HQ_WS_MIRID_CONTROLLER_CONFIG_APPLICATION_ACTIVE_PROFILE=authdisabled
ports:
- "8181:8181"
networks:
- satwebspanet
depends_on:
- redis
- miridpostgresql
resolver:
container_name: resolver
image: identifiersorg/cloud-ws-resolver
environment:
- WS_RESOLVER_CONFIG_REDIS_HOST=redis
- WS_RESOLVER_CONFIG_REDIS_PORT=6379
- WS_RESOLVER_CONFIG_RESOURCE_RECOMMENDER_HOST=recommender
- WS_RESOLVER_CONFIG_RESOURCE_RECOMMENDER_PORT=8083
- WS_RESOLVER_CONFIG_REGISTRY_RESOLUTION_DATASET_ENDPOINT=http://hqregistry:8180/resolutionApi/getResolverDataset
- WS_RESOLVER_JVM_MEMORY_MAX=1024m
- WS_RESOLVER_CONFIG_APPLICATION_CORS_ORIGINS=*
- MATOMO_ENABLED=false
ports:
- "8080:8080"
networks:
- satwebspanet
depends_on:
- redis
- recommender
- hqregistry
recommender:
container_name: recommender
image: identifiersorg/cloud-ws-resource-recommender
environment:
- WS_RESOURCE_RECOMMENDER_JVM_MEMORY_MAX=1024m
- WS_RESOURCE_RECOMMENDER_CONFIG_BACKEND_SERVICE_LINK_CHECKER_HOST=link-checker
- SPRING_PROFILES_ACTIVE=authdisabled
ports:
- "8083:8083"
networks:
- satwebspanet
depends_on:
- link-checker
link-checker:
container_name: link-checker
image: identifiersorg/cloud-ws-link-checker
environment:
- WS_LINK_CHECKER_CONFIG_REDIS_HOST=redis
- WS_LINK_CHECKER_CONFIG_BACKEND_SERVICE_RESOLVER_HOST=resolver
- WS_LINK_CHECKER_CONFIG_DAEMON_PERIODIC_LINK_CHECK_REQUESTER_ENABLED=false
- SPRING_PROFILES_ACTIVE=authdisabled
ports:
- "8084:8084"
networks:
- satwebspanet
depends_on:
- redis
redis:
container_name: redis
image: redis:4.0.8-alpine
ports:
- "6379:6379"
networks:
- satwebspanet
# satspa:
# container_name: devops_spa
# image: identifiersorg/cloud-satellite-web-spa
# ports:
# - "9090:9090"
# networks:
# - satwebspanet
# depends_on:
# - link-checker
# - recommender
# - resolver
# - hqwebspa
networks:
satwebspanet:
name: satwebspanet
driver: bridge
ipam:
driver: default
config:
- subnet: 192.168.252.0/24
volumes:
registry:
name: idorg_registry
external: true