-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
49 lines (43 loc) · 923 Bytes
/
docker-compose.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
services:
webhook_server: &defaults
build:
context: .
ports:
- "8000:8000"
environment:
DJANGO_SETTINGS_MODULE: tests.settings
volumes:
- ./tests:/app/tests
- ./django_webhook:/app/django_webhook
webhook_worker:
<<: *defaults
ports: []
command: celery --app tests.celery_app:app worker --loglevel=INFO
postgres:
image: postgres:14
container_name: postgres
environment:
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
volumes:
- pgdata:/var/lib/postgresql/data
ports: ['5432:5432']
redis:
image: redis
ports:
- "6379:6379"
nodejs_receiver:
build:
context: examples/nodejs
ports:
- "8001:8001"
flask_receiver:
build:
context: examples/flask
ports:
- "8002:8002"
volumes:
- ./examples/flask:/app/
volumes:
pgdata: