krakend/docker-compose.yml

60 lines
1.1 KiB
YAML

version: "3.8"
services:
jaeger:
image: jaegertracing/all-in-one:latest
ports:
- "16686:16686"
- "14268:14268"
api:
image: paramah/lwan
volumes:
- ./api-mocks:/opt/lwan/wwwroot
ports:
- "8000:8080"
ldap:
image: osixia/openldap:1.4.0
command: ["--copy-service"]
volumes:
- ./ldap/config-ldap.ldif:/container/service/slapd/assets/config/bootstrap/ldif/custom/config-ldap.ldif
ports:
- 389:389
- 636:636
postgresd:
image: postgres:9.6
ports:
- "5432:5432"
environment:
- POSTGRES_USER=dex
- POSTGRES_PASSWORD=postgres
- POSTGRES_DB=dex
dex:
image: quay.io/dexidp/dex:latest
command: ["serve", "/config/config-ldap.yaml"]
volumes:
- ./dex:/config
ports:
- 5556:5556
- 5558:5558
depends_on:
- postgresd
- ldap
kraken:
image: devopsfaith/krakend:config-watcher
volumes:
- ./krakend:/etc/krakend
ports:
- "1234:1234"
- "8080:8080"
- "8091:8091"
depends_on:
- api
- jaeger