-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (40 loc) · 971 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (40 loc) · 971 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
version: '3'
services:
libchecker:
image: codeyourinfra/libchecker
build: .
container_name: libchecker
restart: always
environment:
- LIBRARIESIO_API_KEY
- MONGO_URI=mongodb://mongo/
- MONGO_USERNAME=dbuser
- MONGO_PASSWORD=dbpassword
- SLACK_WEBHOOK_URL
- TRAVIS_API_TOKEN
- SMTP_HOST
- SMTP_USERNAME
- SMTP_PASSWORD
volumes:
- ./config.yaml:/libchecker/config.yaml
depends_on:
- mongo
mongo:
image: codeyourinfra/libchecker-mongo
build: mongodb
container_name: mongo
restart: always
environment:
- MONGO_INITDB_ROOT_USERNAME=dbuser
- MONGO_INITDB_ROOT_PASSWORD=dbpassword
mongodb-ui:
image: mongo-express
container_name: mongodb-ui
restart: always
environment:
- ME_CONFIG_MONGODB_ADMINUSERNAME=dbuser
- ME_CONFIG_MONGODB_ADMINPASSWORD=dbpassword
ports:
- 8081:8081
depends_on:
- mongo