-
Notifications
You must be signed in to change notification settings - Fork 2
/
Taskfile.yml
56 lines (43 loc) · 1.28 KB
/
Taskfile.yml
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
48
49
50
51
52
53
54
55
56
version: '3'
tasks:
build:
cmds:
- docker compose build
up:
cmds:
- docker compose up
bootstrap:
cmds:
- docker compose up --build
create-order:
cmds:
- >
curl -X POST -H "Content-Type: application/json" --data @./resources/data/create-order-request.json http://localhost:3000/orders
cancel-order-line:
cmds:
- >
curl -X PUT -H "Content-Type: application/json" --data @./resources/data/cancel-order-line-request.json http://localhost:3000/orders/{{.ORDER_ID}}/lines/{{.ORDER_LINE_ID}}
shipment-service-logs:
cmds:
- docker compose logs --follow shipment-service
order-service-logs:
cmds:
- docker compose logs --follow order-service
rabbitmq-logs:
cmds:
- docker compose logs --follow rabbitmq
order-db-logs:
cmds:
- docker compose logs --follow order-db
order-db-session:
cmds:
- docker compose run --rm order-db psql -d postgres://postgres:postgres@order-db/orderdb
shipment-db-logs:
cmds:
- docker compose logs --follow shipment-db
shipment-db-session:
cmds:
- docker compose run --rm shipment-db psql -d postgres://postgres:postgres@shipment-db/shipmentdb
debezium-logs:
cmds:
- docker compose logs --follow debezium-server