-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
44 lines (39 loc) · 852 Bytes
/
docker-compose.yml
File metadata and controls
44 lines (39 loc) · 852 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
services:
booking_cache:
image: redis:7.4
container_name: booking_cache
ports:
- "7379:6379"
networks:
- myNetwork
booking_back_service:
container_name: 'booking_back'
build:
context: .
# ports:
# - "8001:8001"
networks:
- myNetwork
env_file:
- .env
booking_celery_worker_service:
container_name: 'booking_celery_worker'
build:
context: .
networks:
- myNetwork
env_file:
- .env
command: 'celery --app=src.tasks.celery_app:celery_instance worker -l INFO'
booking_celery_beat_service:
container_name: 'booking_celery_beat'
build:
context: .
networks:
- myNetwork
env_file:
- .env
command: 'celery --app=src.tasks.celery_app:celery_instance beat -l INFO'
networks:
myNetwork:
external: true