-
Notifications
You must be signed in to change notification settings - Fork 170
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
63 lines (63 loc) · 1.66 KB
/
Copy pathdocker-compose.yml
File metadata and controls
63 lines (63 loc) · 1.66 KB
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
---
services:
gateway:
image: ${IMAGE_NAME:-apicast-test}
build:
context: ../..
dockerfile: Dockerfile
depends_on:
- proxy.socat
- camel.proxy
- tls.camel.proxy
- example.com
- actual.upstream
environment:
THREESCALE_CONFIG_FILE: /tmp/config.json
THREESCALE_DEPLOYMENT_ENV: staging
APICAST_CONFIGURATION_LOADER: lazy
APICAST_WORKERS: 1
APICAST_LOG_LEVEL: debug
APICAST_CONFIGURATION_CACHE: "0"
expose:
- "8080"
- "8090"
ports:
- "8080:8080"
- "8090:8090"
volumes:
- ./apicast-config.json:/tmp/config.json:Z
proxy.socat:
image: quay.io/openshift-logging/alpine-socat:1.8.0.0
container_name: proxy-socat
restart: unless-stopped
command: "-d -v -d TCP-LISTEN:8080,reuseaddr,fork TCP:camel-proxy:8080"
camel.proxy:
image: quay.io/zregvart/camel-netty-proxy
container_name: camel-proxy
expose:
- "8080"
tls.camel.proxy:
image: quay.io/zregvart/camel-netty-proxy
container_name: tls-camel-proxy
entrypoint:
- java
- -Dcom.sun.net.ssl.checkRevocation=false
- -cp
- camel-netty-proxy.jar:lib/*
- com.github.zregvart.cnp.ProxyApp
expose:
- "8443"
volumes:
- ./cert/keystore.jks:/tls/keystore.jks:Z
example.com:
image: quay.io/openshift-logging/alpine-socat:1.8.0.0
container_name: example.com
command: "-d -v -d TCP-LISTEN:80,reuseaddr,fork TCP:actual.upstream:8080"
expose:
- "443"
restart: unless-stopped
actual.upstream:
image: quay.io/kuadrant/authorino-examples:talker-api
container_name: actual.upstream
expose:
- "8080"