-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (49 loc) · 1007 Bytes
/
docker-compose.yml
File metadata and controls
56 lines (49 loc) · 1007 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
47
48
49
50
51
52
53
54
55
version: "3.9"
services:
redis:
image: redis:7
container_name: redis
web1:
build: .
container_name: daphne1
command: daphne -b 0.0.0.0 -p 9000 where_are_you.asgi:application
volumes:
- .:/app
depends_on:
- redis
web2:
build: .
container_name: daphne2
command: daphne -b 0.0.0.0 -p 9000 where_are_you.asgi:application
volumes:
- .:/app
depends_on:
- redis
web3:
build: .
container_name: daphne3
command: daphne -b 0.0.0.0 -p 9000 where_are_you.asgi:application
volumes:
- .:/app
depends_on:
- redis
web4:
build: .
container_name: daphne4
command: daphne -b 0.0.0.0 -p 9000 where_are_you.asgi:application
volumes:
- .:/app
depends_on:
- redis
nginx:
image: nginx:alpine
container_name: nginx
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
ports:
- "80:80"
depends_on:
- web1
- web2
- web3
- web4