-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
56 lines (56 loc) · 1.57 KB
/
Copy pathdocker-compose.yml
File metadata and controls
56 lines (56 loc) · 1.57 KB
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
services:
bff:
# Note: The env_file is used to pass in environment variables to the container.
env_file:
- ./env/.env.${ENVIRONMENT}
build:
context: ./
dockerfile: ./cmd/bff/Dockerfile
image: ${IMAGE_URI}/bff
container_name: bff
ports:
- "${BFF_PORT}:${BFF_PORT}"
item:
env_file:
- ./env/.env.${ENVIRONMENT}
build:
context: ./
dockerfile: ./cmd/item/Dockerfile
image: ${IMAGE_URI}/item
container_name: item
ports:
- "${ITEM_PORT}:${ITEM_PORT}"
- "${ITEM_METRICPORT}:${ITEM_METRICPORT}"
team:
env_file:
- ./env/.env.${ENVIRONMENT}
build:
context: ./
dockerfile: ./cmd/team/Dockerfile
image: ${IMAGE_URI}/team
container_name: team
ports:
- "${TEAM_PORT}:${TEAM_PORT}"
- "${TEAM_METRICPORT}:${TEAM_METRICPORT}"
record:
env_file:
- ./env/.env.${ENVIRONMENT}
build:
context: ./
dockerfile: ./cmd/record/Dockerfile
image: ${IMAGE_URI}/record
container_name: record
ports:
- "${RECORD_PORT}:${RECORD_PORT}"
- "${RECORD_METRICPORT}:${RECORD_METRICPORT}"
tournament:
env_file:
- ./env/.env.${ENVIRONMENT}
build:
context: ./
dockerfile: ./cmd/tournament/Dockerfile
image: ${IMAGE_URI}/tournament
container_name: tournament
ports:
- "${TOURNAMENT_PORT}:${TOURNAMENT_PORT}"
- "${TOURNAMENT_METRICPORT}:${TOURNAMENT_METRICPORT}"