-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.relayer-pull.yml
51 lines (46 loc) · 1.27 KB
/
docker-compose.relayer-pull.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
version: "3"
volumes:
relayer:
relayer_html:
services:
nginx:
volumes:
- relayer_html:/usr/share/nginx/html/relayer
- ./relayer/nginx.conf:/etc/nginx/vhost.d/${HOST_RELAYER}
relayer-service: &relayer-service
image: joincircles/safe-relay-service:v5.0.4-1-gb85b7b4
container_name: circles-relayer-service
depends_on:
- db
- ganache
- redis
working_dir: /safe-relay-service
env_file:
- .env
environment:
- VIRTUAL_HOST=${HOST_RELAYER}
- GRAPH_NODE_ENDPOINT=http://graph:8000
- RELAYER_REDIS_URL=redis://redis:6379/0
- CELERY_BROKER_URL=redis://redis:6379/0
- POSTGRES_HOST=${POSTGRES_HOST}
- POSTGRES_PORT=${POSTGRES_PORT}
- C_FORCE_ROOT=true
- DJANGO_SECRET_KEY=development
- DJANGO_SETTINGS_MODULE=config.settings.development
volumes:
- relayer:/nginx
- relayer_html:/usr/share/nginx/html/relayer
command: ./run.sh
relayer-worker: &relayer-worker
<<: *relayer-service
container_name: circles-relayer-worker
depends_on:
- db
- ganache
- redis
- relayer-service
command: ./run-worker.sh
relayer-scheduler:
<<: *relayer-worker
container_name: circles-relayer-scheduler
command: ./run-scheduler.sh