Files
wonderwall/docker-compose.yml
2022-07-19 13:11:57 +02:00

42 lines
1.1 KiB
YAML

version: '3.8'
services:
redis:
image: redis:7
ports:
- "6379:6379"
mock-oauth2-server:
image: ghcr.io/navikt/mock-oauth2-server:0.5.1
ports:
- "8080:8080"
environment:
JSON_CONFIG: "{\"interactiveLogin\":false}"
hostname: host.docker.internal
wonderwall:
image: ghcr.io/nais/wonderwall:latest
# alternatively,
# build: .
ports:
- "3000:3000"
command: >
--openid.client-id=bogus
--openid.well-known-url=http://host.docker.internal:8080/default/.well-known/openid-configuration
--ingress=http://localhost:3000
--bind-address=0.0.0.0:3000
--upstream-host=upstream:4000
--redis.address=redis:6379
--redis.tls=false
--log-level=debug
--log-format=text
restart: on-failure
environment:
WONDERWALL_OPENID_CLIENT_JWK: ${WONDERWALL_OPENID_CLIENT_JWK} # generated from mkjwk.org and set in .env file
upstream:
image: mendhak/http-https-echo:24
ports:
- "4000:4000"
logging:
driver: none
environment:
HTTP_PORT: 4000
JWT_HEADER: Authorization