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
783 B
YAML

5 years ago
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
5 years ago
ports:
- "127.0.0.1:27017:27017"
volumes:
- "./mongodb/:/data/db"
mcbulkaccountcheckerandwatcher:
image: "cuddlycheetah/mcbulkaccountcheckerandwatcher"
5 years ago
restart: unless-stopped
5 years ago
# if you dont need the mongodb container, mae sure to remove these two lines too
5 years ago
links:
- mongo
5 years ago
environment:
- MONGO_DBURI: 'mongodb://admin:admin@mongo:27017'
- MONGO_DBNAME: 'mcaccountschecker'
5 years ago
ports:
- "6969:6969/tcp"