-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (48 loc) · 1.05 KB
/
docker-compose.yml
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
version: "3"
services:
profile-postgres:
build:
context: .
dockerfile: dockerfile-postgres
container_name: profile-postgres
environment:
- POSTGRES_PASSWORD=profile-test
- POSTGRES_USER=profiler
- POSTGRES_DB=test
expose:
- "5432"
image: postgres
ports:
- "5432:5432"
goapp:
build: ./profile-go-microservice
container_name: goapp-profiling
expose:
- "5000"
links:
- profile-postgres
ports:
- "5000:5000"
csharpapp-2:
build:
context: ./profile-c-sharp-microservice
dockerfile: dockerfile-2
container_name: csharpapp-profiling-2
expose:
- "5001"
links:
- profile-postgres
ports:
- "5001:80"
csharpapp-1-1:
build:
context: ./profile-c-sharp-microservice
dockerfile: dockerfile-1.1
container_name: csharpapp-profiling-1-1
expose:
- "5002"
links:
- profile-postgres
ports:
- "5002:80"
# To run: docker-compose up -d