-
Notifications
You must be signed in to change notification settings - Fork 170
/
docker-compose.yml
78 lines (78 loc) · 1.99 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
version: '3.8'
services:
gateway:
image: ${IMAGE_NAME:-apicast-test}
depends_on:
- redis
- echo
env_file: .env
environment:
THREESCALE_PORTAL_ENDPOINT: http://echo:8081/config/
echo:
image: ${IMAGE_NAME:-apicast-test}
environment:
APICAST_CONFIGURATION_LOADER: test
APICAST_MANAGEMENT_API: debug
command: bin/apicast
ports:
- '8081'
dev:
image: ${IMAGE_NAME:-apicast-test}
depends_on:
- redis
ports:
- "8080:8080"
- "8090:8090"
volumes:
- .:/opt/app-root/src
env_file: .env
environment:
TEST_NGINX_BINARY: openresty
TEST_NGINX_REDIS_HOST: redis
dns_search:
- example.com
test:
image: ${IMAGE_NAME:-apicast-test}
depends_on:
- gateway
entrypoint: ""
dns: 127.0.0.1
environment:
APICAST_MANAGEMENT_API: debug
APICAST_LOG_LEVEL: debug
APICAST_CONFIGURATION_LOADER: test
dns_search:
- example.com
redis:
image: redis
keycloak:
image: jboss/keycloak:3.1.0.Final
environment:
KEYCLOAK_USER: keycloak
KEYCLOAK_PASSWORD: keycloak
KEYCLOAK_LOGLEVEL: INFO
ports:
- "8080"
opentracing-instrumented-gateway:
image: ${IMAGE_NAME:-apicast-test}
depends_on:
- jaeger
environment:
THREESCALE_CONFIG_FILE: /tmp/config.json
THREESCALE_DEPLOYMENT_ENV: staging
APICAST_CONFIGURATION_LOADER: lazy
APICAST_LOG_LEVEL: debug
APICAST_CONFIGURATION_CACHE: "0"
OPENTRACING_TRACER: jaeger
OPENTRACING_CONFIG: /opt/app-root/src/tracing-configs/tracing-config-jaeger-jaeger-config.json
volumes:
- ./examples/opentracing/apicast-config.json:/tmp/config.json
- ./examples/opentracing/jaeger-config.json:/opt/app-root/src/tracing-configs/tracing-config-jaeger-jaeger-config.json
jaeger:
image: jaegertracing/all-in-one:latest
environment:
JAEGER_DISABLED: "false"
COLLECTOR_OTLP_ENABLED: "true"
ports:
- 16686:16686