-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathdocker-compose.yml
47 lines (43 loc) · 891 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
name: meetups
services:
django:
container_name: meetups_django
entrypoint: /app/entrypoint.sh
build: .
volumes:
- .:/app
env_file:
- .env
ports:
- "${PORT}:${PORT}"
depends_on:
- rabbitmq
- celery
networks:
- app_network
restart: unless-stopped
celery:
container_name: meetups_celery
build: .
command: celery -A matcher.tasks worker --loglevel=info
volumes:
- .:/app
env_file:
- .env
depends_on:
- rabbitmq
networks:
- app_network
restart: unless-stopped
rabbitmq:
container_name: meetups_rabbitmq
image: "rabbitmq:3-management"
ports:
- "15672:15672" # RabbitMQ management console
- "5672:5672" # RabbitMQ default port
networks:
- app_network
restart: unless-stopped
networks:
app_network:
driver: bridge