Removed 'auth' flag
Running with the auth flag would give this error: https://paste.md-5.net/imekiqocih.nginx That is all I have to add. Enjoy :p
This commit is contained in:
		
							parent
							
								
									8f6b91dbc9
								
							
						
					
					
						commit
						716cebb610
					
				@ -8,7 +8,7 @@
 | 
				
			|||||||
    "author": "parker@parkervcp.com",
 | 
					    "author": "parker@parkervcp.com",
 | 
				
			||||||
    "description": "MongoDB is a general purpose, document-based, distributed database built for modern application developers and for my butt era.",
 | 
					    "description": "MongoDB is a general purpose, document-based, distributed database built for modern application developers and for my butt era.",
 | 
				
			||||||
    "image": "quay.io\/parkervcp\/pterodactyl-images:db_mongo-4",
 | 
					    "image": "quay.io\/parkervcp\/pterodactyl-images:db_mongo-4",
 | 
				
			||||||
    "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} --auth --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}",
 | 
				
			||||||
    "config": {
 | 
					    "config": {
 | 
				
			||||||
        "files": "{}",
 | 
					        "files": "{}",
 | 
				
			||||||
        "startup": "{\r\n    \"done\": \"child process started successfully\"\r\n}",
 | 
					        "startup": "{\r\n    \"done\": \"child process started successfully\"\r\n}",
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user