-
Notifications
You must be signed in to change notification settings - Fork 170
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (47 loc) · 1.24 KB
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (47 loc) · 1.24 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
---
services:
gateway:
image: ${IMAGE_NAME:-apicast-test}
build:
context: ../..
dockerfile: Dockerfile
depends_on:
- proxy
- example.com
- two.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:
build:
dockerfile: ./tinyproxy.Dockerfile
expose:
- "3128"
- "443"
volumes:
- ./tinyproxy.conf:/etc/tinyproxy/tinyproxy.conf:Z
example.com:
image: quay.io/openshift-logging/alpine-socat:1.8.0.0
container_name: example-com
command: "-v openssl-listen:443,reuseaddr,fork,cert=/etc/pki/example.com.pem,verify=0,openssl-min-proto-version=TLS1.3,openssl-max-proto-version=TLS1.3 TCP:two.upstream:8080"
expose:
- "443"
restart: unless-stopped
volumes:
- ./cert/example.com.pem:/etc/pki/example.com.pem:Z
two.upstream:
image: quay.io/kuadrant/authorino-examples:talker-api
expose:
- "8080"