-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.build.yml
43 lines (39 loc) · 1.02 KB
/
docker-compose.build.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
version: "3.7"
services:
server:
image: $CI_REGISTRY_IMAGE/server:$IMAGE_TAG
build:
context: ./server
dockerfile: Dockerfile
args:
GIT_VERSION: $GIT_VERSION
GIT_DATE: $GIT_DATE
SERVER_ADDRESS: ${VH_SERVER}.${VH_DOMAIN}
client:
image: $CI_REGISTRY_IMAGE/client:$IMAGE_TAG
build:
context: ./client
dockerfile: Dockerfile
args:
GIT_VERSION: $GIT_VERSION
GIT_DATE: $GIT_DATE
SERVER_ADDRESS: ${VH_SERVER}.${VH_DOMAIN}
logger:
image: $CI_REGISTRY_IMAGE/logger:$IMAGE_TAG
build:
context: ./logger
dockerfile: Dockerfile
args:
GIT_VERSION: $GIT_VERSION
GIT_DATE: $GIT_DATE
SERVER_ADDRESS: ${VH_SERVER}.${VH_DOMAIN}
tester:
image: $CI_REGISTRY_IMAGE/tester:$IMAGE_TAG
build:
context: ./tester
dockerfile: Dockerfile
args:
GIT_VERSION: $GIT_VERSION
GIT_DATE: $GIT_DATE
SERVER_ADDRESS: ${VH_SERVER}.${VH_DOMAIN}
command: go build tester.go