oc-shared/docker-compose.yml

23 lines
615 B
YAML
Raw Normal View History

2024-08-12 14:12:51 +02:00
version: '3.4'
services:
oc-shared:
environment:
- MONGO_DATABASE=DC_myDC
image: 'oc-shared:latest'
ports:
- 8091:8080
container_name: oc-shared
2024-10-30 10:45:04 +01:00
labels:
2024-10-30 17:09:17 +01:00
- "traefik.enable=true"
- "traefik.http.routers.shared.entrypoints=web"
2024-11-04 14:27:30 +01:00
- "traefik.http.routers.shared.rule=PathPrefix(/shared)"
- "traefik.http.middlewares.auth.forwardauth.address=http://oc-auth:8080/oc/forward"
2024-10-30 17:09:17 +01:00
- "traefik.http.routers.shared.tls=false"
- "traefik.http.routers.shared.middlewares=auth"
2024-08-12 14:12:51 +02:00
networks:
- catalog
networks:
catalog:
external: true