blob: 6a121116ba8ebe21e880635b02ffbf5a511d7e92 (
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: '3'
services:
# Give your container proper names!
n0t3b00k-checker:
build: .
# The checker runs a HTTP interfaces, so we need to map port 3031 to the outside (port 8000).
ports:
- 8000:3031
environment:
- MONGO_ENABLED=1
- MONGO_HOST=n0t3b00k-mongo
- MONGO_PORT=27017
- MONGO_USER=n0t3b00k_checker
- MONGO_PASSWORD=n0t3b00k_checker
# The python checkerlib requires a mongo db!
n0t3b00k-mongo:
image: mongo
volumes:
- ./data:/data/db
environment:
MONGO_INITDB_ROOT_USERNAME: n0t3b00k_checker
MONGO_INITDB_ROOT_PASSWORD: n0t3b00k_checker
|