-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
48 lines (45 loc) · 885 Bytes
/
docker-compose.yaml
File metadata and controls
48 lines (45 loc) · 885 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
services:
mock:
image: caddy
command:
- caddy
- run
- -c
- /media/Caddyfile
volumes:
- ./acceptance-tests/mock:/media
ports:
- 8081:8081
hurl:
image: ghcr.io/orange-opensource/hurl:latest
volumes:
- ./acceptance-tests/test-cases:/tests:ro
depends_on:
caddylura:
condition: service_healthy
entrypoint:
- tail
- -f
- /dev/null
caddylura:
environment:
BACKEND_HOST: http://mock:8081
LISTEN_PORT: 8082
image: golang:1.22
working_dir: /media
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8082/__ready"]
start_period: "10s"
depends_on:
- mock
ports:
- 8082:8082
command:
- go
- run
- /media/cmd/caddy/
- run
- -c
- /media/Caddyfile
volumes:
- ./:/media