-
Notifications
You must be signed in to change notification settings - Fork 170
/
Copy pathdocker-compose.yml
56 lines (56 loc) · 1.21 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
---
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: mirror.gcr.io/library/redis
keycloak:
image: quay.io/keycloak/keycloak:23.0.4
environment:
KEYCLOAK_ADMIN: keycloak
KEYCLOAK_ADMIN_PASSWORD: keycloak
KEYCLOAK_LOGLEVEL: INFO
ports:
- "8080"