forked from fabric8-services/fabric8-wit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (36 loc) · 946 Bytes
/
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
version: '2'
services:
db:
image: registry.centos.org/postgresql/postgresql:9.6
ports:
- "5432:5432"
environment:
POSTGRESQL_ADMIN_PASSWORD: mysecretpassword
core:
image: docker.io/fabric8/fabric8-wit:latest
# command: -config /usr/local/wit/etc/config.yaml
environment:
F8_AUTH_URL: "http://localhost:8089"
F8_DEVELOPER_MODE_ENABLED: "true"
ports:
- "8080:8080"
network_mode: "host"
depends_on:
- auth
db-auth:
image: registry.centos.org/postgresql/postgresql:9.6
ports:
- "5433:5432"
environment:
POSTGRESQL_ADMIN_PASSWORD: mysecretpassword
auth:
image: docker.io/fabric8/fabric8-auth:latest
# command: -config /usr/local/auth/etc/config.yaml
environment:
AUTH_WIT_URL: "http://localhost:8080"
AUTH_DEVELOPER_MODE_ENABLED: "true"
ports:
- "8089:8089"
network_mode: "host"
depends_on:
- db-auth