21 lines
532 B
YAML
21 lines
532 B
YAML
version: '3.4'
|
|
|
|
services:
|
|
oc-peer:
|
|
environment:
|
|
- MONGO_DATABASE=DC_myDC
|
|
image: 'oc-peer:latest'
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.middlewares.peer.forwardauth.address=http://oc-auth:8080/oc/forward"
|
|
- "traefik.http.middlewares.peer.forwardauth.authResponseHeaders=X-Forwarded-User"
|
|
- "traefik.http.services.peer.loadbalancer.server.port=8080"
|
|
ports:
|
|
- 8093:8080
|
|
container_name: oc-peer
|
|
networks:
|
|
- catalog
|
|
|
|
networks:
|
|
catalog:
|
|
external: true |