-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
55 lines (54 loc) · 1.15 KB
/
docker-compose.yaml
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
version: '2.4'
services:
mongo:
image: mongo
environment:
MONGO_INITDB_DATABASE: ${MONGO_DATABASE}
ports:
- 27017:27017
gateway:
build:
args:
GO_VERSION: ${GO_VERSION}
context: .
dockerfile: dev.Dockerfile
environment:
API_PORT: 3000
JWT_SECRET_KEY:
ACCOUNT_SERVICE_ENDPOINT:
EVENT_SERVICE_ENDPOINT:
working_dir: /go/src/github.com/mtmendonca/teamder-api/gateway
ports:
- 3000:3000
account:
build:
args:
GO_VERSION: ${GO_VERSION}
context: .
dockerfile: dev.Dockerfile
depends_on:
- mongo
environment:
API_PORT: 3001
MONGO_ENDPOINT:
MONGO_DATABASE:
GOOGLE_API_CLIENT_ID:
JWT_SECRET_KEY:
working_dir: /go/src/github.com/mtmendonca/teamder-api/account
ports:
- 3001:3001
event:
build:
args:
GO_VERSION: ${GO_VERSION}
context: .
dockerfile: dev.Dockerfile
depends_on:
- mongo
environment:
API_PORT: 3002
MONGO_ENDPOINT:
MONGO_DATABASE:
working_dir: /go/src/github.com/mtmendonca/teamder-api/event
ports:
- 3002:3002