forked from caraml-dev/xp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
58 lines (53 loc) · 1.44 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
version: '3'
services:
postgres:
image: postgres:13-alpine
container_name: xp_postgres
ports:
- 5432:5432
environment:
- POSTGRES_USER=xp
- POSTGRES_PASSWORD=xp
- POSTGRES_DB=xp
pubsub:
image: google/cloud-sdk:349.0.0
container_name: xp_pubsub
ports:
- 8085:8085
command:
gcloud beta emulators pubsub start --host-port 0.0.0.0:8085 --project dev
swagger-ui:
image: swaggerapi/swagger-ui:v3.47.1
container_name: xp_swagger-ui
ports:
- 8081:5555
volumes:
- ./api:/usr/share/nginx/html/docs
environment:
- PORT=5555
- Layour=BaseLayout
- "URLS=[{ name:'management-service',url:'./docs/experiments.yaml'}, {name:'treatment-service',url:'./docs/treatment.yaml' }]"
postgres-auth:
image: bitnami/postgresql:11.6.0-debian-9-r0
container_name: xp_postgres-auth
ports:
- 5433:5432
environment:
- POSTGRESQL_USERNAME=oryketo
- POSTGRESQL_PASSWORD=oryketo
- POSTGRESQL_DATABASE=oryketo
keto-server:
image: oryd/keto:v0.4.3
container_name: xp_keto-server
ports:
- 4466:4466
environment:
- DSN=postgres://oryketo:oryketo@postgres-auth:5432/oryketo?sslmode=disable
- LOG_LEVEL=debug
keto-server-bootstrap-policies:
image: oryd/keto:v0.4.3
volumes:
- ./keto/policies:/policies
environment:
- LOG_LEVEL=debug
- KETO_URL=http://xp_keto-server:4466