-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5277270
commit 62bcb2d
Showing
6 changed files
with
70 additions
and
462 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,49 @@ | ||
version: '2.1' | ||
|
||
services: | ||
n0t3b00k-checker: | ||
whatsscam-checker: | ||
build: . | ||
# The checker runs a HTTP interfaces, so we need to map port 3031 to the outside (port 8000). | ||
# The checker runs an HTTP interface, so we need to map port 5008 to the outside (port 8000). | ||
ports: | ||
- 5008:8000 | ||
environment: | ||
- MONGO_ENABLED=1 | ||
- MONGO_HOST=n0t3b00k-mongo | ||
- MONGO_HOST=whatsscam-mongo | ||
- MONGO_PORT=27017 | ||
- MONGO_USER=n0t3b00k | ||
- MONGO_PASSWORD=n0t3b00k | ||
mem_limit: 1G | ||
memswap_limit: 2G | ||
ulimits: | ||
core: | ||
soft: 0 | ||
hard: 0 | ||
nproc: | ||
soft: 4000 | ||
hard: 4000 | ||
# The python checkerlib requires a mongo db! | ||
n0t3b00k-mongo: | ||
- MONGO_USER=whatsscam | ||
- MONGO_PASSWORD=whatsscam | ||
# mem_limit: 1G | ||
# memswap_limit: 2G | ||
# ulimits: | ||
# core: | ||
# soft: 0 | ||
# hard: 0 | ||
# nproc: | ||
# soft: 4000 | ||
# hard: 4000 | ||
networks: | ||
- whatsscam_whatsscam-net | ||
|
||
whatsscam-mongo: | ||
image: mongo | ||
#ports: | ||
# - 27017:27017 | ||
volumes: | ||
- ./data:/data/db | ||
environment: | ||
MONGO_INITDB_ROOT_USERNAME: n0t3b00k | ||
MONGO_INITDB_ROOT_PASSWORD: n0t3b00k | ||
mem_limit: 1G | ||
memswap_limit: 2G | ||
ulimits: | ||
core: | ||
soft: 0 | ||
hard: 0 | ||
nproc: | ||
soft: 4000 | ||
hard: 4000 | ||
MONGO_INITDB_ROOT_USERNAME: whatsscam | ||
MONGO_INITDB_ROOT_PASSWORD: whatsscam | ||
# mem_limit: 1G | ||
# memswap_limit: 2G | ||
# ulimits: | ||
# core: | ||
# soft: 0 | ||
# hard: 0 | ||
# nproc: | ||
# soft: 4000 | ||
# hard: 4000 | ||
networks: | ||
- whatsscam_whatsscam-net | ||
|
||
networks: | ||
whatsscam_whatsscam-net: | ||
external: True | ||
|
Oops, something went wrong.