Compare commits
	
		
			No commits in common. "9ab7b53998f2549905b10370871dcf977dee3b2f" and "c643ac15a371cebd6d5663f8611b55bdce719844" have entirely different histories.
		
	
	
		
			9ab7b53998
			...
			c643ac15a3
		
	
		
							
								
								
									
										70
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										70
									
								
								README.md
									
									
									
									
									
								
							| @ -1,69 +1,3 @@ | |||||||
|  | # SupportAccess | ||||||
| 
 | 
 | ||||||
| ```sh | Quick access to the server with VMmanager 6 and DCImanager 6 platforms | ||||||
| █▀█ █░█ █ █▀▀ █▄▀   ▄▀█ █▀▀ █▀▀ █▀▀ █▀ █▀ |  | ||||||
| ▀▀█ █▄█ █ █▄▄ █░█   █▀█ █▄▄ █▄▄ ██▄ ▄█ ▄█ |  | ||||||
| ``` |  | ||||||
| 
 |  | ||||||
| # Quick access to a server with VMmanager 6 or DCImanager 6 installed |  | ||||||
| 
 |  | ||||||
| Allows you to quickly and in one line get access to the server using the generated platform administrator key. |  | ||||||
| 
 |  | ||||||
| - Safe |  | ||||||
| - Reliable |  | ||||||
| - No hassle |  | ||||||
| 
 |  | ||||||
| ## Features |  | ||||||
| 
 |  | ||||||
| - It finds a guaranteed administrator itself |  | ||||||
| - Generates a link for authorization |  | ||||||
| - The container is very small Alpine based |  | ||||||
| - Once accessed, the container and image will be deleted |  | ||||||
| - There is error handling if access cannot be obtained |  | ||||||
| 
 |  | ||||||
| ## Tech: |  | ||||||
| >You need a companion script gogoCHAD that initiates the download and deployment of the container. |  | ||||||
| 
 |  | ||||||
| Environment variables are used as input for container: |  | ||||||
| | ENV | VM6 | DCI6 | |  | ||||||
| | ------ | ------ |------ | |  | ||||||
| | PLATFORM | vm   |dci    | |  | ||||||
| | CLIENT_HOST |ip  |ip    | |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| ## Run manualy: |  | ||||||
| > If you send a chain of commands through a secure server: |  | ||||||
| > Use the full path to the executable Go server does not pass $PATH |  | ||||||
| > |  | ||||||
| ```sh  |  | ||||||
| /usr/bin/docker run |  | ||||||
| /usr/bin/docker image pull |  | ||||||
| /usr/bin/docker image rm |  | ||||||
| ``` |  | ||||||
| 
 |  | ||||||
| ### `VMmanager 6:` |  | ||||||
| ```sh |  | ||||||
| /usr/bin/docker run \ |  | ||||||
|     --network=vm_vm_box_net \  # connect to vm_box network |  | ||||||
|     -e CLIENT_HOST=$address \  # server ip or domain name |  | ||||||
|     -e PLATFORM=vm \  # need to use correct DB |  | ||||||
|     --mount type=bind,source=/root,target=/app/host \  #  mount root home dir to put get-logs.sh |  | ||||||
|     --mount type=bind,source=/opt/ispsystem/vm/config.json,target=/app/config.json,readonly \  #  read db password |  | ||||||
|     --rm mois3y/isp_support:0.0.2  # image with script with version tag |  | ||||||
| ``` |  | ||||||
| 
 |  | ||||||
| ### `DCImanager 6:` |  | ||||||
| ```sh |  | ||||||
| /usr/bin/docker run \ |  | ||||||
|     --network=dci_auth \  # connect to dci_auth network |  | ||||||
|     -e CLIENT_HOST=$address \  # server ip or domain name |  | ||||||
|     -e PLATFORM=dci \  # need to use correct DB |  | ||||||
|     --mount type=bind,source=/root,target=/app/host \  #  mount root home dir to put get-logs.sh |  | ||||||
|     --mount type=bind,source=/opt/ispsystem/dci/config.json,target=/app/config.json,readonly \  #  read db password |  | ||||||
|     --rm mois3y/isp_support:0.0.2  # image with script with version tag |  | ||||||
| ``` |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| 
 |  | ||||||
| ## License |  | ||||||
| 
 |  | ||||||
| GNU GPL 3.0 |  | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user