-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
59 lines (55 loc) · 1.01 KB
/
docker-compose.yaml
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
56
57
58
59
services:
client1:
build:
context: .
dockerfile: Dockerfile
container_name: client1
volumes:
- ./data:/data
networks:
- app-network
client2:
build:
context: .
dockerfile: Dockerfile
container_name: client2
volumes:
- ./data:/data
networks:
- app-network
client3:
build:
context: .
dockerfile: Dockerfile
container_name: client3
volumes:
- ./data:/data
networks:
- app-network
# clientuser:
# build:
# context: .
# dockerfile: Dockerfile-user
# container_name: clientuser
# volumes:
# - ./data:/data
# networks:
# - app-network
nginx:
image: nginx:latest
container_name: nginx
depends_on:
- client1
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
- ./certs:/etc/nginx/certs:ro
ports:
- "443:443"
networks:
- app-network
networks:
app-network:
driver: bridge
volumes:
data-volume:
driver: local