blob: e01fe6815f34acbf1d62d19a3ca6dd5e252fd9e2 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
version: '3'
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
# 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
|