Files
oc-workflow/docker-compose.yml
2024-10-30 17:08:22 +01:00

26 lines
772 B
YAML

version: '3.4'
services:
oc-workflow:
environment:
- _OCWORKFLOW_MONGO_DATABASE=DC_myDC
- _OCWORKFLOW_MONGO_URL=mongodb://mongo:27017
- _OCWORKFLOW_NATS_URL=nats://nats:4222
image: 'oc-workflow:latest'
ports:
- 8088:8080
container_name: oc-workflow
labels:
- "traefik.enable=true"
- "traefik.http.routers.workflow.entrypoints=web"
- "traefik.http.routers.workflow.rule=Host(`localhost`)"
- "traefik.routers.workflow.rule=Path(/workflow)"
- "traefik.http.routers.workflow.tls=false"
- "traefik.http.services.workflow.loadbalancer.server.port=80"
- "traefik.http.routers.workflow.middlewares=auth"
networks:
- catalog
networks:
catalog:
external: true