-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.webhooks.yml
45 lines (40 loc) · 1011 Bytes
/
compose.webhooks.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
services:
svix-db:
image: postgres:16
env_file:
- ./env/svix-db.env
volumes:
- "./services/initdb.d:/docker-entrypoint-initdb.d"
svix:
image: svix/svix-server
environment:
WAIT_FOR: "true" # We want to wait for the default services
env_file:
- ./env/svix.env
volumes:
- "./conf/svix.toml:/config.toml:ro"
depends_on:
- redis
- svix-db
swh-webhooks-journal-client:
image: swh/stack:${SWH_IMAGE_TAG:-latest}
build: ./
env_file:
- ./env/common_python.env
depends_on:
- kafka
- svix
- nginx
volumes:
- "./conf/webhooks_journal_client.yml:/srv/softwareheritage/config.yml:ro"
- "./services/swh-webhooks-journal-client/entrypoint.sh:/srv/softwareheritage/entrypoint.sh:ro"
swh-web:
depends_on:
- kafka
- svix
- nginx
swh-web-cron:
# we cannot really remove a service in an override compose file...
command: noop
deploy:
replicas: 0