forked from fabric8-ui/fabric8-planner
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (58 loc) · 1.5 KB
/
docker-compose.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
version: '3'
services:
planner:
build: .
container_name: fabric8-planner-runtime
image: fabric8-planner-runtime
# command: npm run tests -- --unit
environment:
FABRIC8_WIT_API_URL: http://localhost:8080/api/
FABRIC8_SSO_API_URL: https://sso.prod-preview.openshift.io/
FABRIC8_REALM: fabric8-test
depends_on:
- core
networks:
- default
ports:
- "8088:8080"
volumes:
- ./runtime/dist:/dist
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"