You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
781 B
YAML
26 lines
781 B
YAML
version: '3'
|
|
services:
|
|
# You can also use a MongoDB Atlas, you just need to comment this Container out and change the config.json
|
|
mongo:
|
|
image: "mongo:latest"
|
|
restart: unless-stopped
|
|
hostname: mongodb
|
|
environment:
|
|
- MONGO_INITDB_ROOT_USERNAME=admin
|
|
- MONGO_INITDB_ROOT_PASSWORD=admin
|
|
ports:
|
|
- "127.0.0.1:27017:27017"
|
|
volumes:
|
|
- "./mongodb/:/data/db"
|
|
mcbulkaccountcheckerandwatcher:
|
|
image: "cuddlycheetah/mcbulkaccountcheckerandwatcher"
|
|
restart: unless-stopped
|
|
# if you dont need the mongodb container, mae sure to remove these two lines too
|
|
links:
|
|
- mongo
|
|
environment:
|
|
- MONGO_DBURI='mongodb://admin:admin@mongo:27017'
|
|
- MONGO_DBNAME='mcaccountschecker'
|
|
ports:
|
|
- "6969:6969/tcp"
|