|
version: '2' |
|
services: |
|
apicast: |
|
image: registry.access.redhat.com/3scale-amp24/apicast-gateway:latest |
|
environment: |
|
# THREESCALE_PORTAL_ENDPOINT: http://whatever-admin.local.foo:3000 |
|
# THREESCALE_PORTAL_ENDPOINT: THREESCALE_PORTAL_ENDPOINT=https://01cfb707316d21f6d70bf7becd5a0dc505b0b2a56d3e3fe2931e2efa6cfe2542@daria-admin.3scale.net |
|
# THREESCALE_PORTAL_ENDPOINT: https://80410f50ae2c4bbc94f1d3a999adb4ff0bf5b643e4f79531c67d753b08b6c2ae@url-rewrite-demo-admin.3scale.net |
|
THREESCALE_CONFIG_FILE: /opt/app-root/config.json |
|
THREESCALE_DEPLOYMENT_ENV: staging |
|
APICAST_MANAGEMENT_API: debug |
|
APICAST_LOG_LEVEL: debug |
|
APICAST_CONFIGURATION_LOADER: boot |
|
APICAST_OIDC_LOG_LEVEL: debug |
|
# APICAST_CONFIGURATION_CACHE: 60 |
|
# APICAST_SERVICES_LIST: 2555417757540 |
|
# APICAST_SERVICES_LIST: 2555417742248 |
|
# OPENTRACING_TRACER: jaeger |
|
# http_proxy: http://proxy.foo:3128 |
|
# https_proxy: http://proxy.foo:3128 |
|
# no_proxy: 127.0.0.1 |
|
# OPENSSL_VERIFY: 'true' |
|
# APICAST_HTTPS_CERTIFICATE: /opt/app-root/certs/server.crt |
|
# APICAST_HTTPS_CERTIFICATE_KEY: /opt/app-root/certs/server.key |
|
# APICAST_HTTPS_PORT: 8843 |
|
ports: |
|
- "8080:8080" |
|
- "8090:8090" |
|
# - "8843:8843" |
|
# - "9421:9421" |
|
volumes: |
|
# - ./certs/server.crt:/opt/app-root/certs/server.crt |
|
# - ./certs/server.key:/opt/app-root/certs/server.key |
|
# - ./dnsmasq/extra.conf:/etc/dnsmasq.d/extra.conf |
|
# - ../gateway/src/apicast/http_proxy.lua:/opt/app-root/src/src/apicast/http_proxy.lua |
|
# - ../gateway/src/resty/http/proxy.lua:/opt/app-root/src/src/resty/http/proxy.lua |
|
# - ../gateway/src/resty/resolver/http.lua:/opt/app-root/src/resty/resolver/http.lua |
|
- ./configs/minimal.json:/opt/app-root/config.json |
|
|
|
echo.foo: |
|
image: openresty/openresty:centos |
|
ports: |
|
- "3000:3000" |
|
# - "8443:8443" |
|
volumes: |
|
- ./echo/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf |
|
# - ./certs/server.crt:/usr/local/openresty/nginx/conf/certs/server.crt |
|
# - ./certs/server.key:/usr/local/openresty/nginx/conf/certs/server.key |
|
# environment: |
|
# FOO: "bar" |
|
|
|
# proxy.foo: |
|
# image: sameersbn/squid:3.5.27 |
|
# ports: |
|
# - "3128:3128" |
|
# volumes: |
|
# - ./squid/cache:/var/spool/squid |
|
# - ./squid/logs:/var/log/squid |
|
# - ./squid/squid.conf:/etc/squid/squid.conf |
|
|
|
# whatever-admin.local.foo: |
|
# image: openresty/openresty:centos |
|
# ports: |
|
# - "3000:3000" |
|
# - "8443:8443" |
|
# volumes: |
|
# - ./echo/nginx.conf:/usr/local/openresty/nginx/conf/nginx.conf |
|
# - ./certs/server.crt:/usr/local/openresty/nginx/conf/certs/server.crt |
|
# - ./certs/server.key:/usr/local/openresty/nginx/conf/certs/server.key |
|
|
|
# tcpdump: |
|
# image: kaazing/tcpdump |
|
# network_mode: "host" |
|
# volumes: |
|
# - ./tcpdump:/tcpdump |
|
# command: ["-A", "-s", "0", "-v", "-i", "any", "-w", "/tcpdump/tcpdump.pcap"] |