-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
39 lines (36 loc) · 987 Bytes
/
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
version: '3.5'
services:
api:
build: .
image: labbsr0x/score-api:latest
environment:
- SCORE_ENVIRONMENT=DEV
- DB_MONGO_URI=mongodb://root:root@mongo:27017/githunter?authSource=admin
- GITHUNTER_API_URL=http://githunter-api.labbs.com.br
- GITHUNTER_USER_ENDPOINT=/user
- GITHUNTER_USER_SIMPLE_ENDPOINT=/user-simple
- APP_LOG_LEVEL=INFO
- APP_PORT=3000
- CONDUCTOR_URL=http://localhost:8080/api
ports:
- 3000:3000
restart: always
mongo-express:
image: mongo-express
ports:
- 8082:8081
environment:
ME_CONFIG_BASICAUTH_USERNAME: root
ME_CONFIG_BASICAUTH_PASSWORD: root
ME_CONFIG_MONGODB_PORT: 27017
ME_CONFIG_MONGODB_ADMINUSERNAME: root
ME_CONFIG_MONGODB_ADMINPASSWORD: root
restart: always
links:
- mongo
mongo:
image: mongo
environment:
MONGO_INITDB_ROOT_USERNAME: root
MONGO_INITDB_ROOT_PASSWORD: root
restart: always