-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 785 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 785 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
version: "3"
services:
http-server:
build:
context: ./service/
dockerfile: dockerfile
environment:
HTTP_HOST: "0.0.0.0"
HTTP_PORT: "8080"
http-server1:
build:
context: ./service/
dockerfile: dockerfile
environment:
HTTP_HOST: "0.0.0.0"
HTTP_PORT: "8081"
HTTP_ROUTE: "/api1"
http-server2:
build:
context: ./service/
dockerfile: dockerfile
environment:
HTTP_HOST: "0.0.0.0"
HTTP_PORT: "8082"
HTTP_ROUTE: "/api2"
socket-server:
build:
context: ./socket-service/
dockerfile: dockerfile
nginx-proxy:
image: nginx:alpine
ports:
- "80:80"
volumes:
- ./nginx.conf:/etc/nginx/nginx.conf:ro
depends_on:
- http-server