-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
32 lines (31 loc) · 912 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
32 lines (31 loc) · 912 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
services:
wiremock:
image: sheyenrath/wiremock.net
container_name: wiremock
ports:
- "9092:80" # acceso directo sin CORS, para debug. UI/clientes usan wiremock-cors en 9091
volumes:
- "./wiremock/mappings:/app/__admin/mappings"
- "./wiremock/__files:/app/__admin/__files"
command:
[
"--ReadStaticMappings",
"true",
"--WatchStaticMappings",
"true",
"--WireMockLogger",
"WireMockConsoleLogger",
"--AllowPartialMapping",
"true",
]
restart: unless-stopped
wiremock-cors:
image: nginx:alpine
container_name: wiremock-cors
depends_on:
- wiremock
ports:
- "9091:80" # --CorsPolicyOptions de WireMock.Net no añade headers en este binario; proxy los inyecta
volumes:
- "./wiremock-cors/nginx.conf:/etc/nginx/conf.d/default.conf:ro"
restart: unless-stopped