-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
47 lines (42 loc) · 882 Bytes
/
Copy pathdocker-compose.yml
File metadata and controls
47 lines (42 loc) · 882 Bytes
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
version: '3.1'
services:
bitly:
build:
context: .
target: development
hostname: bitly
environment:
- REDIS_CONNECTION_STRING=redis://redis:6379
- MONGO_CONNECTION_STRING=mongodb://root:example@mongo:27017
- GRPC_PORT=6060
- HTTP_PORT=7070
restart: always
ports:
- 6060:6060
- 7070:7070
depends_on:
- mongo
- redis
grpc-client:
image: fullstorydev/grpcui:v1.3.0
restart: always
ports:
- 8080:8080
command: -plaintext bitly:6060
depends_on:
- bitly
mongo:
image: mongo:4.4.14
hostname: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: example
restart: always
ports:
- 27017:27017
redis:
image: redis:6.2.7-alpine
hostname: redis
restart: always
ports:
- 6379:6379