-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-k6.account-api.yaml
69 lines (65 loc) · 1.62 KB
/
docker-compose-k6.account-api.yaml
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
57
58
59
60
61
62
63
64
65
66
67
68
69
# yaml-language-server: $schema=https://raw.githubusercontent.com/compose-spec/compose-spec/master/schema/compose-spec.json
services:
account-service-api:
pull_policy: never
build:
context: .
dockerfile: ./Docker/Dockerfile.account
command: ['account-api']
ports:
- 3000:3000
volumes: !reset []
depends_on: !override
redis:
condition: service_started
ipfs:
condition: service_healthy
account-service-webhook:
condition: service_healthy
environment:
WEBHOOK_BASE_URL: 'http://account-service-webhook:3001/webhooks/account-service'
account-service-worker:
pull_policy: never
build:
context: .
dockerfile: ./Docker/Dockerfile.account
command: ['account-worker']
volumes: !reset []
depends_on: !override
- redis
- ipfs
environment:
WEBHOOK_BASE_URL: 'http://account-service-webhook:3001/webhooks/account-service'
account-service-webhook:
image: rust:1.81.0
volumes:
- ./webhook-servers:/app
ports:
- '3001:3001'
command: sh -c "cd /app && cargo run"
healthcheck:
test: ['CMD', 'curl', '-f', 'http://127.0.0.1:3001/webhooks/health']
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
- gateway-net
gateway-base:
profiles:
- skip
content-publishing-service-worker:
profiles:
- skip
content-publishing-service-api:
profiles:
- skip
content-watcher-service:
profiles:
- skip
graph-service-api:
profiles:
- skip
graph-service-worker:
profiles:
- skip