-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.coarnotify.yml
More file actions
89 lines (84 loc) · 2.52 KB
/
compose.coarnotify.yml
File metadata and controls
89 lines (84 loc) · 2.52 KB
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
services:
swh-coarnotify-db:
image: postgres:16
environment:
POSTGRES_PASSWORD: testpassword
POSTGRES_DB: swh-coarnotify
volumes:
- "./services/initdb.d:/docker-entrypoint-initdb.d"
swh-coarnotify:
image: swh/stack:${SWH_IMAGE_TAG:-latest}
build: ./
depends_on:
- swh-coarnotify-db
- nginx
- swh-storage
- swh-scheduler
- swh-scheduler-listener
- swh-scheduler-runner
- swh-coarnotify-worker
env_file:
- ./env/common_python.env
environment:
POSTGRES_DB: swh-coarnotify
VERBOSITY: 3
DJANGO_SETTINGS_MODULE: swh.coarnotify.settings.production
RPC_PORT: 5009
SCRIPT_NAME: /coarnotify
healthcheck:
test: curl -f -I http://localhost:5009/coarnotify
retries: 6
volumes:
- "./conf/coarnotify.yml:/srv/softwareheritage/config.yml:ro"
- "./services/swh-coarnotify/entrypoint.sh:/srv/softwareheritage/entrypoint.sh:ro"
swh-coarnotify-worker:
image: swh/stack:${SWH_IMAGE_TAG:-latest}
build: ./
command: worker
env_file:
- ./env/common_python.env
- ./env/workers.env
environment:
SWH_SCHEDULER_HOST: swh-scheduler
SWH_SCHEDULER_INSTANCE: http://nginx/rpc/scheduler/
SWH_WORKER_INSTANCE: coarnotify
DJANGO_SETTINGS_MODULE: swh.coarnotify.settings.production
depends_on:
- swh-storage
- swh-scheduler
- swh-scheduler-runner
- amqp
- nginx
volumes:
- "./conf/coarnotify-worker.yml:/srv/softwareheritage/config.yml:ro"
- "./services/swh-worker/entrypoint.sh:/srv/softwareheritage/entrypoint.sh:ro"
swh-indexer-journal-client-oemd:
image: swh/stack:${SWH_IMAGE_TAG:-latest}
build: ./
user: swh
env_file:
- ./env/common_python.env
- ./env/workers.env
environment:
SWH_WORKER_INSTANCE: indexer
SWH_LOG_LEVEL: debug
POSTGRES_DB: swh-idx-storage
SWH_SCHEDULER_INSTANCE: http://nginx/rpc/scheduler/
command: journal-client extrinsic_metadata
depends_on:
- kafka
- swh-storage
- swh-idx-storage
- swh-objstorage
- nginx
volumes:
- "./conf/indexer.yml:/srv/softwareheritage/config.yml:ro"
- "./services/swh-indexer/entrypoint.sh:/srv/softwareheritage/entrypoint.sh:ro"
ldn-inbox:
image: antleaf/notify_ldn_inbox:1.2
command: notify_ldn_inbox -host=http://localhost -port=8008 -debug=true
ports:
- "8008"
swh-scheduler-runner:
environment:
WORKER_INSTANCES: listers, loader, coarnotify