-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.yml
More file actions
46 lines (42 loc) · 864 Bytes
/
compose.yml
File metadata and controls
46 lines (42 loc) · 864 Bytes
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
version: "3.8"
services:
app:
build:
context: .
dockerfile: Dockerfile
container_name: image-processing-service
env_file:
- .env
entrypoint: /bin/sh start.sh
depends_on:
- rabbitmq
ports:
- "8000:8000"
networks:
- app-network
celery:
build:
context: .
dockerfile: Dockerfile
container_name: celery-worker
env_file:
- .env
depends_on:
- rabbitmq
entrypoint: celery -A image_processing_service.celery worker --loglevel=info
networks:
- app-network
rabbitmq:
image: rabbitmq:3-management
container_name: rabbitmq
ports:
- "5672:5672"
- "15672:15672"
environment:
RABBITMQ_DEFAULT_USER: guest
RABBITMQ_DEFAULT_PASS: guest
networks:
- app-network
networks:
app-network:
driver: bridge