forked from fabric8-ui/fabric8-planner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.f8ui.yml
61 lines (60 loc) · 1.76 KB
/
docker-compose.f8ui.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
version: '3'
services:
planner:
container_name: fabric8-planner-platform
image: fabric8-planner-platform
# command: npm run tests -- --unit
environment:
FABRIC8_REALM: "fabric8-test"
FABRIC8_WIT_API_URL: "http://localhost:8080/api/"
FABRIC8_AUTH_API_URL: "http://localhost:8089/api/"
FABRIC8_SSO_API_URL: "https://sso.prod-preview.openshift.io/"
# $PROXY_PASS_URL is required by the nginx-config file
# It's set by pipeline-library in CI & is emulated here
# More info: github.com/fabric8-ui/fabric8-planner/issues/2360
PROXY_PASS_URL: "https://api.free-int.openshift.com:443"
depends_on:
- core
networks:
- default
ports:
- "8088:8080"
auth:
container_name: fabric8-planner-auth
image: docker.io/fabric8/fabric8-auth:latest
entrypoint: bin/auth
depends_on:
- db-auth
environment:
AUTH_WIT_URL: "http://localhost:8080"
AUTH_KEYCLOAK_REALM: "fabric8-test"
AUTH_DEVELOPER_MODE_ENABLED: "true"
network_mode: "host"
ports:
- "8089:8089"
core:
container_name: fabric8-planner-core
image: fabric8/fabric8-wit:latest
entrypoint: bin/wit
depends_on:
- auth
environment:
F8_DEVELOPER_MODE_ENABLED: "true"
F8_AUTH_URL: "http://localhost:8089"
network_mode: "host"
ports:
- "8080:8080"
db-auth:
container_name: fabric8-planner-db-auth
image: registry.centos.org/postgresql/postgresql:9.5
environment:
POSTGRESQL_ADMIN_PASSWORD: mysecretpassword
ports:
- "5433:5432"
db-data:
container_name: fabric8-planner-db-data
image: registry.centos.org/postgresql/postgresql:9.5
environment:
POSTGRESQL_ADMIN_PASSWORD: mysecretpassword
ports:
- "5432:5432"