forked from 3scale/APIcast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
68 lines (68 loc) · 1.56 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
version: '2.1'
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
prove:
image: ${IMAGE_NAME:-apicast-test}
user: root
environment:
TEST_NGINX_BINARY: openresty
TEST_NGINX_REDIS_HOST: redis
command: "sh -ec '$$TEST_NGINX_BINARY -V; cd ; /usr/libexec/s2i/entrypoint make prove; exit $$?'"
dns_search:
- example.com
depends_on:
- redis
volumes_from:
- container:${COMPOSE_PROJECT_NAME:-apicast_build_0}-source
redis:
image: redis
keycloak:
image: jboss/keycloak:3.1.0.Final
environment:
KEYCLOAK_USER: keycloak
KEYCLOAK_PASSWORD: keycloak
KEYCLOAK_LOGLEVEL: INFO
ports:
- "8080"