-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
59 lines (59 loc) · 1.28 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
54
55
56
57
58
59
services:
app-gateway:
image: muazhari/autocode-example-app-gateway:latest
build:
context: ./app_gateway
dockerfile: .Dockerfile
command:
- go
- test
- -timeout=0
- -v
- ./test
volumes:
- ./app_gateway:/workdir
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- GATEWAY_PORT=8000
- ACCOUNT_HOST=app-account
- ACCOUNT_PORT=8000
- PRODUCT_HOST=app-product
- PRODUCT_PORT=8000
- GOPROXY=direct
app-account:
image: muazhari/autocode-example-app-account:latest
build:
context: ./app_account
dockerfile: .Dockerfile
command:
- go
- test
- -timeout=0
- -v
- ./test
volumes:
- ./app_account:/workdir
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- ACCOUNT_PORT=8000
- GOPROXY=direct
app-product:
image: muazhari/autocode-example-app-product:latest
build:
context: ./app_product
dockerfile: .Dockerfile
command:
- go
- test
- -timeout=0
- -v
- ./test
volumes:
- ./app_product:/workdir
extra_hosts:
- "host.docker.internal:host-gateway"
environment:
- PRODUCT_PORT=8000
- GOPROXY=direct