Updating ATLBot egg
Using stock containers and smaller alpine based.
This commit is contained in:
		
							parent
							
								
									56c18c8875
								
							
						
					
					
						commit
						c58c617b16
					
				
							
								
								
									
										36
									
								
								discordbots/ATLbot/egg-a-t-l-bot.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										36
									
								
								discordbots/ATLbot/egg-a-t-l-bot.json
									
									
									
									
									
										Normal file
									
								
							| @ -0,0 +1,36 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1" | ||||
|     }, | ||||
|     "exported_at": "2018-02-22T12:55:13-05:00", | ||||
|     "name": "ATLBot", | ||||
|     "author": "jfeldt19@gmail.com", | ||||
|     "description": "ATLbot in ptero\r\n\r\nhttps:\/\/github.com\/ATLauncher\/discord-bot\/", | ||||
|     "image": "quay.io\/parkervcp\/pterodactyl-images:nodejs", | ||||
|     "startup": "npm run start", | ||||
|     "config": { | ||||
|         "files": "{\r\n    \"config\/config.json\": {\r\n        \"parser\": \"json\",\r\n        \"find\": {\r\n            \"client_token\": \"{{server.build.env.CLIENT_TOKEN}}\"\r\n        }\r\n    }\r\n}", | ||||
|         "startup": "{\r\n    \"done\": \"I am ready!\",\r\n    \"userInteraction\": [\r\n        \"Request to use token, but token was unavailable\"\r\n    ]\r\n}", | ||||
|         "logs": "{\r\n    \"custom\": true,\r\n    \"location\": \"logs\/latest.log\"\r\n}", | ||||
|         "stop": "^C" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "apk add --no-cache openssl\r\n\r\ncd \/mnt\/server\r\n\r\nwget https:\/\/github.com\/ATLauncher\/discord-bot\/archive\/master.zip\r\n\r\nunzip master.zip\r\n\r\nrm master.zip\r\n\r\nmv discord-bot-master\/* .\/\r\n\r\nmv config\/config.json.example config\/config.json\r\n\r\n\/usr\/local\/bin\/npm install --production\r\n\r\n\/usr\/local\/bin\/npm run build", | ||||
|             "container": "node:8.9-alpine", | ||||
|             "entrypoint": "ash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [ | ||||
|         { | ||||
|             "name": "client_token", | ||||
|             "description": "Get a discord token at https:\/\/discordapp.com\/developers\/", | ||||
|             "env_variable": "CLIENT_TOKEN", | ||||
|             "default_value": "get_your_own_token_from_discord_", | ||||
|             "user_viewable": 1, | ||||
|             "user_editable": 1, | ||||
|             "rules": "required|string|max:75" | ||||
|         } | ||||
|     ] | ||||
| } | ||||
| @ -1,26 +0,0 @@ | ||||
| { | ||||
|     "_comment": "DO NOT EDIT: FILE GENERATED AUTOMATICALLY BY PTERODACTYL PANEL - PTERODACTYL.IO", | ||||
|     "meta": { | ||||
|         "version": "PTDL_v1" | ||||
|     }, | ||||
|     "exported_at": "2018-02-20T20:34:53-05:00", | ||||
|     "name": "AtlBot", | ||||
|     "author": "jfeldt19@gmail.com", | ||||
|     "description": "ATLbot in pterodactyl, this is based off https://github.com/ATLauncher/discord-bot made by RyantheAllmighty", | ||||
|     "image": "aaronstar\/npm", | ||||
|     "startup": "npm run start", | ||||
|     "config": { | ||||
|         "files": "{}", | ||||
|         "startup": "{\r\n    \"done\": \"I am ready!\"\r\n}", | ||||
|         "logs": "{}", | ||||
|         "stop": "^c" | ||||
|     }, | ||||
|     "scripts": { | ||||
|         "installation": { | ||||
|             "script": "apt-get update\r\napt-get install -y unzip\r\nmkdir \/app\r\ncd \/app\r\nwget https:\/\/github.com\/ATLauncher\/discord-bot\/archive\/master.zip\r\nunzip master.zip\r\nrm \/app\/master.zip\r\ncd \/app\/discord-bot-master\/\r\n\/usr\/local\/bin\/npm install --production\r\n\/usr\/local\/bin\/npm run build\r\ncp -r \/app\/discord-bot-master\/. \/mnt\/server", | ||||
|             "container": "node:8", | ||||
|             "entrypoint": "bash" | ||||
|         } | ||||
|     }, | ||||
|     "variables": [] | ||||
| } | ||||
| @ -1 +0,0 @@ | ||||
| If anyone wants to add other discord bots in here, that would be great | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user