-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml
82 lines (78 loc) · 2.41 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
version: '3.3'
services:
senzing-api-server:
container_name: senzing-api-server
environment:
SENZING_API_SERVER_ALLOWED_ORIGINS: '*'
SENZING_API_SERVER_ENABLE_ADMIN: 'true'
SENZING_API_SERVER_PORT: '8250'
SENZING_API_SERVER_SKIP_ENGINE_PRIMING: 'true'
SENZING_API_SERVER_SKIP_STARTUP_PERF: 'true'
SENZING_ENGINE_CONFIGURATION_JSON: >-
{
"PIPELINE": {
"CONFIGPATH": "/etc/opt/senzing",
"LICENSESTRINGBASE64": "${SENZING_LICENSE_BASE64_ENCODED}",
"RESOURCEPATH": "/opt/senzing/g2/resources",
"SUPPORTPATH": "/opt/senzing/data"
},
"SQL": {
"BACKEND": "SQL",
"CONNECTION": "postgresql://${POSTGRES_USERNAME:-postgres}:${POSTGRES_PASSWORD:-postgres}@${POSTGRES_HOST:-senzing-postgres}:${POSTGRES_PORT:-5432}:${POSTGRES_DB:-G2}/"
}
}
image: senzing/senzing-api-server:${SENZING_DOCKER_IMAGE_VERSION_SENZING_API_SERVER:-latest}
networks:
- senzing
ports:
- 8250:8250
read_only: true
restart: always
tmpfs:
- /tmp
senzing-webapp:
container_name: senzing-webapp
command: "start:docker"
depends_on:
- senzing-api-server
environment:
SENZING_API_SERVER_URL: http://senzing-api-server:8250
SENZING_WEB_SERVER_ADMIN_AUTH_MODE: JWT
SENZING_WEB_SERVER_ADMIN_AUTH_PATH: http://senzing-webapp:8251
SENZING_WEB_SERVER_API_PATH: '/api'
SENZING_WEB_SERVER_PORT: 8251
image: senzing/entity-search-web-app:${SENZING_DOCKER_IMAGE_VERSION_ENTITY_SEARCH_WEB_APP:-latest}
networks:
- senzing
ports:
- 8251:8251
- 8257:8257
read_only: true
restart: 'always'
volumes:
- '/app/node_modules'
senzing-webapp-e2e:
build:
context: .
dockerfile: Dockerfile
command: "e2e:docker"
container_name: senzing-webapp-e2e-server
depends_on:
- senzing-api-server
environment:
SENZING_API_SERVER_URL: http://senzing-api-server:8250
SENZING_WEB_SERVER_API_PATH: '/api'
SENZING_WEB_SERVER_PORT: 8251
image: senzing/entity-search-web-app:${SENZING_DOCKER_IMAGE_VERSION_ENTITY_SEARCH_WEB_APP:-latest}
networks:
- senzing
ports:
- '4201:4200'
restart: 'no'
volumes:
- '.:/app'
- '/app/node_modules'
networks:
senzing:
external: true
name: ${SENZING_DOCKER_NETWORK:-senzing-network}