-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (42 loc) · 779 Bytes
/
docker-compose.yml
File metadata and controls
47 lines (42 loc) · 779 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:
web:
build:
context: .
dockerfile: webserver.Dockerfile
environment:
- DBSRVNAME=distributedhttpserver_db_
- DBSRVPORT=:8081
- DBSRVS=1
- LOGSRV=distributedhttpserver_log_1:8082
depends_on:
- log
- db
ports:
- "8080:8080"
networks:
- backend
log:
build:
context: .
dockerfile: logserver.Dockerfile
environment:
- LOGFILE=log.txt
networks:
- backend
db:
build:
context: .
dockerfile: dbserver.Dockerfile
networks:
- backend
# loadtest:
# build:
# context: .
# dockerfile: loadtester.DockerFile
# depends_on:
# - web
# networks:
# - backend
networks:
backend: