forked from 3scale/APIcast
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (57 loc) · 1.2 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
version: '2.1'
services:
gateway:
image: ${IMAGE_NAME:-apicast-test}
depends_on:
- redis
env_file: .env
dev:
image: ${IMAGE_NAME}
depends_on:
- redis
ports:
- "8080:8080"
- "8090:8090"
volumes:
- .:/opt/app
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
dns_search:
- example.com
prove:
image: ${IMAGE_NAME:-apicast-test}
user: root
entrypoint: "bash -ec"
environment:
TEST_NGINX_BINARY: openresty
TEST_NGINX_APICAST_PATH: /opt/app
TEST_NGINX_REDIS_HOST: redis
command: "'$$TEST_NGINX_BINARY -V; prove; exit $$?'"
dns_search:
- example.com
depends_on:
- redis
volumes_from:
- container:${COMPOSE_PROJECT_NAME}-source
redis:
image: redis
keycloak:
image: jboss/keycloak:3.1.0.Final
environment:
KEYCLOAK_USER: keycloak
KEYCLOAK_PASSWORD: keycloak
KEYCLOAK_LOGLEVEL: INFO
ports:
- "8080"