-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (43 loc) · 832 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (43 loc) · 832 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
version: "3"
services:
nginx:
image: nginx:stable-alpine
container_name: nginx
restart: on-failure
ports:
- "80:80"
volumes:
- ./nginx/nginx.conf:/etc/nginx/nginx.conf
depends_on:
- frontend
- backend
networks:
- wb
frontend:
image: rkddlfah02/wbfront:test
container_name: frontend
networks:
- wb
deploy:
mode: replicated
replicas: 2
update_config:
parallelism: 1
delay: 30s
backend:
image: rkddlfah02/wbbackend:test
container_name: server
networks:
- wb
ports:
- 8080:8080
volumes:
- ./images:/whereball/src/main/resources/static/images
deploy:
mode: replicated
replicas: 2
update_config:
parallelism: 1
delay: 30s
networks:
wb: