blob: 1287b2c05262e73042fde0f3e09b1664e105b397 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
version: '2'
services:
stldoctor-checker:
build: .
# The checker runs a HTTP interfaces, so we need to map port 3031 to the outside (port 8000).
ports:
- 9091:3031
environment:
- MONGO_ENABLED=1
- MONGO_HOST=stldoctor-mongo
- MONGO_PORT=27017
- MONGO_USER=stldoctor_checker
- MONGO_PASSWORD=stldoctor_checker
mem_limit: 1G
# The python checkerlib requires a mongo db!
stldoctor-mongo:
image: mongo
volumes:
- ./data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: stldoctor_checker
MONGO_INITDB_ROOT_PASSWORD: stldoctor_checker
mem_limit: 1G
|