Files
Mayacontigo/compose.yaml
Rogelio 325f1ef439 ic
2025-10-13 18:16:25 +00:00

173 lines
5.3 KiB
YAML

services:
traefik:
image: traefik:v2.10
ports:
- 80:80
command:
- --api.insecure=true
- --providers.docker=true
- --entrypoints.web.address=:80
volumes:
- /var/run/docker.sock:/var/run/docker.sock
riesgos:
image: mayacontigo/riesgos:latest
build:
context: .
dockerfile: .containers/unit/Dockerfile
args:
PACKAGE: riesgos
x-bake:
tags:
- mayacontigo/riesgos:latest
ports:
- 8000:80
labels:
- traefik.enable=true
- traefik.http.routers.riesgos.rule=PathPrefix(`/api/mayariesgos`)
- traefik.http.routers.riesgos.entrypoints=web
- traefik.http.routers.riesgos.middlewares=riesgos-strip
- traefik.http.middlewares.riesgos-strip.stripprefix.prefixes=/api/mayariesgos
ocp:
image: mayacontigo/ocp:latest
build:
context: .
dockerfile: .containers/unit/Dockerfile
args:
PACKAGE: ocp
x-bake:
tags:
- mayacontigo/ocp:latest
ports:
- 8000:80
labels:
- traefik.enable=true
- traefik.http.routers.ocp.rule=PathPrefix(`/api/mayaocp`)
- traefik.http.routers.ocp.entrypoints=web
- traefik.http.routers.ocp.middlewares=ocp-strip
- traefik.http.middlewares.ocp-strip.stripprefix.prefixes=/api/mayaocp
ChatEgresos:
image: mayacontigo/chategresos:latest
build:
context: .
dockerfile: .containers/unit/Dockerfile
args:
PACKAGE: ChatEgresos
x-bake:
tags:
- mayacontigo/chategresos:latest
ports:
- 8001:80
labels:
- traefik.enable=true
- traefik.http.routers.ChatEgresos.rule=PathPrefix(`/api/mayaChatEgresos`)
- traefik.http.routers.ChatEgresos.entrypoints=web
- traefik.http.routers.ChatEgresos.middlewares=ChatEgresos-strip
- traefik.http.middlewares.ChatEgresos-strip.stripprefix.prefixes=/api/mayaChatEgresos
voz-del-cliente:
image: mayacontigo/voz-del-cliente:latest
build:
context: .
dockerfile: .containers/unit/Dockerfile
args:
PACKAGE: voz-del-cliente
x-bake:
tags:
- mayacontigo/voz-del-cliente:latest
ports:
- 8001:80
labels:
- traefik.enable=true
- traefik.http.routers.voz-del-cliente.rule=PathPrefix(`/api/mayavoz-del-cliente`)
- traefik.http.routers.voz-del-cliente.entrypoints=web
- traefik.http.routers.voz-del-cliente.middlewares=voz-del-cliente-strip
- traefik.http.middlewares.voz-del-cliente-strip.stripprefix.prefixes=/api/mayavoz-del-cliente
image: mayacontigo/nnormativa:latest
build:
context: .
dockerfile: .containers/unit/Dockerfile
args:
PACKAGE: nnormativa
x-bake:
tags:
- mayacontigo/nnormativa:latest
ports:
- 8003:80
labels:
- traefik.enable=true
- traefik.http.routers.nnormativa.rule=PathPrefix(`/api/mayannormativa`)
- traefik.http.routers.nnormativa.entrypoints=web
- traefik.http.routers.nnormativa.middlewares=nnormativa-strip
- traefik.http.middlewares.nnormativa-strip.stripprefix.prefixes=/api/mayannormativa
normativa:
image: mayacontigo/normativa:latest
build:
context: .
dockerfile: .containers/unit/Dockerfile
args:
PACKAGE: normativa
x-bake:
tags:
- mayacontigo/normativa:latest
ports:
- 8001:80
labels:
- traefik.enable=true
- traefik.http.routers.normativa.rule=PathPrefix(`/api/mayanormativa`)
- traefik.http.routers.normativa.entrypoints=web
- traefik.http.routers.normativa.middlewares=normativa-strip
- traefik.http.middlewares.normativa-strip.stripprefix.prefixes=/api/mayanormativa
Test:
image: mayacontigo/Test:latest
build:
context: .
dockerfile: .containers/unit/Dockerfile
args:
PACKAGE: Test
x-bake:
tags:
- mayacontigo/Test:latest
ports:
- 8002:80
labels:
- traefik.enable=true
- traefik.http.routers.Test.rule=PathPrefix(`/api/mayaTest`)
- traefik.http.routers.Test.entrypoints=web
- traefik.http.routers.Test.middlewares=Test-strip
- traefik.http.middlewares.Test-strip.stripprefix.prefixes=/api/mayaTest
nnormativa:
image: mayacontigo/nnormativa:latest
build:
context: .
dockerfile: .containers/unit/Dockerfile
args:
PACKAGE: nnormativa
x-bake:
tags:
- mayacontigo/nnormativa:latest
ports:
- 8003:80
labels:
- traefik.enable=true
- traefik.http.routers.nnormativa.rule=PathPrefix(`/api/mayannormativa`)
- traefik.http.routers.nnormativa.entrypoints=web
- traefik.http.routers.nnormativa.middlewares=nnormativa-strip
- traefik.http.middlewares.nnormativa-strip.stripprefix.prefixes=/api/mayannormativa
pyme:
image: mayacontigo/pyme:latest
build:
context: .
dockerfile: .containers/unit/Dockerfile
args:
PACKAGE: pyme
x-bake:
tags:
- mayacontigo/pyme:latest
ports:
- 8004:80
labels:
- traefik.enable=true
- traefik.http.routers.pyme.rule=PathPrefix(`/api/mayapyme`)
- traefik.http.routers.pyme.entrypoints=web
- traefik.http.routers.pyme.middlewares=pyme-strip
- traefik.http.middlewares.pyme-strip.stripprefix.prefixes=/api/mayapyme