Update 'The Lab'
							parent
							
								
									7a4f6b3574
								
							
						
					
					
						commit
						c729d52c00
					
				
							
								
								
									
										18
									
								
								The-Lab.md
									
									
									
									
									
								
							
							
								
								
								
								
									
									
								
								
								
							
						
						
									
										18
									
								
								The-Lab.md
									
									
									
									
									
								
							| 
						 | 
					@ -12,12 +12,15 @@ How I'm building my personal lab.
 | 
				
			||||||
                 └───────────────────────────┘            └──────────────────────────┘
 | 
					                 └───────────────────────────┘            └──────────────────────────┘
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
* Caddy for auto HTTPS
 | 
					* Caddy for auto HTTPS. Caddy provides the equivalent to an cloud "application load balancer" service
 | 
				
			||||||
* Rathole for NAT traversal
 | 
					* Rathole for NAT traversal. Rathole provides the equivalent to a cloud "network load balancer" service
 | 
				
			||||||
* Docker and docker compose to run all services
 | 
					* Docker and docker compose to run all services
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## Configuration
 | 
					## Configuration
 | 
				
			||||||
 | 
					### VM
 | 
				
			||||||
 | 
					We'll need to change the VM
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### Rathole
 | 
					### Rathole
 | 
				
			||||||
This is the server configuration
 | 
					This is the server configuration
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					@ -78,6 +81,17 @@ git.guillemborrell.es {
 | 
				
			||||||
```
 | 
					```
 | 
				
			||||||
You probably get how to add an additional service with auto-http 
 | 
					You probably get how to add an additional service with auto-http 
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					### SSH
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					Note that the gitssh services are forwarded by Rathole, not by Caddy. Of course we want to let the port 22 for admin purposes. Here's how the ssh config would look:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					Host lab
 | 
				
			||||||
 | 
					     User guillem
 | 
				
			||||||
 | 
					     Port 3389
 | 
				
			||||||
 | 
					     HostName lab.guillemborrell.es
 | 
				
			||||||
 | 
					```
 | 
				
			||||||
 | 
					
 | 
				
			||||||
## FAQ
 | 
					## FAQ
 | 
				
			||||||
 | 
					
 | 
				
			||||||
### How small the small and cheap VM?
 | 
					### How small the small and cheap VM?
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in a new issue