mirror of
				https://github.com/pelican-eggs/eggs.git
				synced 2025-10-31 17:08:06 +00:00 
			
		
		
		
	
						commit
						2912e3b91f
					
				| @ -4,6 +4,10 @@ | |||||||
| 
 | 
 | ||||||
| MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era. | MongoDB is a general purpose, document-based, distributed database built for modern application developers and for the cloud era. | ||||||
| 
 | 
 | ||||||
|  | ### MongoDB free monitoring. | ||||||
|  | 
 | ||||||
|  | To disable the message about free monitoring you can run `db.disableFreeMonitoring()`. | ||||||
|  | 
 | ||||||
| ## Minimum RAM warning | ## Minimum RAM warning | ||||||
| 
 | 
 | ||||||
| MongoDB requires approximately 1GB of RAM per 100.000 assets. If the system has to start swapping memory to disk, this will have a severely negative impact on performance, and should be avoided. | MongoDB requires approximately 1GB of RAM per 100.000 assets. If the system has to start swapping memory to disk, this will have a severely negative impact on performance, and should be avoided. | ||||||
|  | |||||||
| @ -11,8 +11,7 @@ | |||||||
|     "features": null, |     "features": null, | ||||||
|     "docker_images": { |     "docker_images": { | ||||||
|         "MongoDB_4": "ghcr.io\/parkervcp\/yolks:mongodb_4", |         "MongoDB_4": "ghcr.io\/parkervcp\/yolks:mongodb_4", | ||||||
|         "MongoDB_5": "ghcr.io\/parkervcp\/yolks:mongodb_5", |         "MongoDB_5": "ghcr.io\/parkervcp\/yolks:mongodb_5" | ||||||
|         "MongoDB_6": "ghcr.io\/parkervcp\/yolks:mongodb_6" |  | ||||||
|     }, |     }, | ||||||
|     "file_denylist": [], |     "file_denylist": [], | ||||||
|     "startup": "mongod --fork --dbpath \/home\/container\/mongodb\/ --port ${SERVER_PORT} --bind_ip 0.0.0.0 --logpath \/home\/container\/logs\/mongo.log -f \/home\/container\/mongod.conf; until nc -z -v -w5 127.0.0.1 ${SERVER_PORT}; do echo 'Waiting for mongodb connection...'; sleep 5; done && mongo --username ${MONGO_USER} --password ${MONGO_USER_PASS} --host 127.0.0.1:${SERVER_PORT} && mongo --eval \"db.getSiblingDB('admin').shutdownServer()\" 127.0.0.1:${SERVER_PORT}", |     "startup": "mongod --fork --dbpath \/home\/container\/mongodb\/ --port ${SERVER_PORT} --bind_ip 0.0.0.0 --logpath \/home\/container\/logs\/mongo.log -f \/home\/container\/mongod.conf; until nc -z -v -w5 127.0.0.1 ${SERVER_PORT}; do echo 'Waiting for mongodb connection...'; sleep 5; done && mongo --username ${MONGO_USER} --password ${MONGO_USER_PASS} --host 127.0.0.1:${SERVER_PORT} && mongo --eval \"db.getSiblingDB('admin').shutdownServer()\" 127.0.0.1:${SERVER_PORT}", | ||||||
| @ -44,7 +43,7 @@ | |||||||
|             "name": "Mongo Admin Password", |             "name": "Mongo Admin Password", | ||||||
|             "description": "", |             "description": "", | ||||||
|             "env_variable": "MONGO_USER_PASS", |             "env_variable": "MONGO_USER_PASS", | ||||||
|             "default_value": "aP@55word", |             "default_value": "", | ||||||
|             "user_viewable": true, |             "user_viewable": true, | ||||||
|             "user_editable": true, |             "user_editable": true, | ||||||
|             "rules": "required|string", |             "rules": "required|string", | ||||||
|  | |||||||
							
								
								
									
										52
									
								
								database/nosql/mongodb/egg-mongo-d-b6.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										52
									
								
								database/nosql/mongodb/egg-mongo-d-b6.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,52 @@ | |||||||
|  | { | ||||||
|  |     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||||
|  |     "meta": { | ||||||
|  |         "version": "PTDL_v2", | ||||||
|  |         "update_url": null | ||||||
|  |     }, | ||||||
|  |     "exported_at": "2022-09-27T08:58:45-04:00", | ||||||
|  |     "name": "MongoDB 6", | ||||||
|  |     "author": "parker@parkervcp.com", | ||||||
|  |     "description": "MongoDB is a general purpose, document-based, distributed database built for modern application developers and for my butt era.", | ||||||
|  |     "features": null, | ||||||
|  |     "docker_images": { | ||||||
|  |         "MongoDB_6": "ghcr.io\/parkervcp\/yolks:mongodb_6" | ||||||
|  |     }, | ||||||
|  |     "file_denylist": [], | ||||||
|  |     "startup": "mongod --fork --dbpath \/home\/container\/mongodb\/ --port ${SERVER_PORT} --bind_ip 0.0.0.0 --logpath \/home\/container\/logs\/mongo.log -f \/home\/container\/mongod.conf; until nc -z -v -w5 127.0.0.1 ${SERVER_PORT}; do echo 'Waiting for mongodb connection...'; sleep 5; done; mongosh --username ${MONGO_USER} --password ${MONGO_USER_PASS} --host 127.0.0.1:${SERVER_PORT} && mongosh --eval \"db.getSiblingDB('admin').shutdownServer()\" 127.0.0.1:${SERVER_PORT}", | ||||||
|  |     "config": { | ||||||
|  |         "files": "{}", | ||||||
|  |         "startup": "{\r\n    \"done\": \"child process started successfully\"\r\n}", | ||||||
|  |         "logs": "{}", | ||||||
|  |         "stop": "exit" | ||||||
|  |     }, | ||||||
|  |     "scripts": { | ||||||
|  |         "installation": { | ||||||
|  |             "script": "#!\/bin\/bash \r\nif [ ! -d \/mnt\/server\/ ]; then\r\n    mkdir \/mnt\/server\/\r\nfi\r\n\r\ncd \/mnt\/server\/\r\n\r\ncp \/etc\/mongod.conf.orig \/mnt\/server\/mongod.conf\r\n\r\nmkdir mongodb logs\r\n\r\nmongod --port 27017 --dbpath \/mnt\/server\/mongodb\/ --logpath \/mnt\/server\/logs\/mongo.log --fork\r\n\r\nmongosh --eval \"db.getSiblingDB('admin').createUser({user: '${MONGO_USER}', pwd: '${MONGO_USER_PASS}', roles: ['root']})\"\r\n\r\nmongosh --eval \"db.getSiblingDB('admin').shutdownServer()\"", | ||||||
|  |             "container": "mongo:6-focal", | ||||||
|  |             "entrypoint": "bash" | ||||||
|  |         } | ||||||
|  |     }, | ||||||
|  |     "variables": [ | ||||||
|  |         { | ||||||
|  |             "name": "Mongo Admin Username", | ||||||
|  |             "description": "The MongoDB Admin user", | ||||||
|  |             "env_variable": "MONGO_USER", | ||||||
|  |             "default_value": "admin", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "required|string", | ||||||
|  |             "field_type": "text" | ||||||
|  |         }, | ||||||
|  |         { | ||||||
|  |             "name": "Mongo Admin Password", | ||||||
|  |             "description": "", | ||||||
|  |             "env_variable": "MONGO_USER_PASS", | ||||||
|  |             "default_value": "", | ||||||
|  |             "user_viewable": true, | ||||||
|  |             "user_editable": true, | ||||||
|  |             "rules": "required|string", | ||||||
|  |             "field_type": "text" | ||||||
|  |         } | ||||||
|  |     ] | ||||||
|  | } | ||||||
| @ -16,7 +16,7 @@ | |||||||
|     "startup": ".\/${EXECUTABLE}", |     "startup": ".\/${EXECUTABLE}", | ||||||
|     "config": { |     "config": { | ||||||
|         "files": "{}", |         "files": "{}", | ||||||
|         "startup": "{\r\n    \"done\": \"change this part\"\r\n}",, |         "startup": "{\r\n    \"done\": \"change this part\"\r\n}", | ||||||
|         "logs": "{}", |         "logs": "{}", | ||||||
|         "stop": "^C" |         "stop": "^C" | ||||||
|     }, |     }, | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user