-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (48 loc) · 963 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
53 lines (48 loc) · 963 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
services:
fib-node:
build:
context: ./fib-node
dockerfile: Dockerfile
ports:
- "8081:8080"
environment:
RUNTIME: NODJS
fib-go:
build:
context: ./fib-go
dockerfile: Dockerfile
ports:
- "8082:8080"
environment:
RUNTIME: GOLANG
fib-rust:
build:
context: ./fib-rust
dockerfile: Dockerfile
ports:
- "8083:8000"
volumes:
- ./fib-rust/html:/app/data
environment:
RUNTIME: RUST
nginx:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "8089:8080"
depends_on:
- haproxy
volumes:
- ./frontend/html:/usr/share/nginx/html
- ./frontend/local:/etc/nginx/conf.d
haproxy:
build:
context: ./haproxy
dockerfile: Dockerfile.local
depends_on:
- fib-go
- fib-node
- fib-rust
ports:
- "8888:8080"