Make the URI mapping easier to follow
This commit is contained in:
		
							
								
								
									
										20
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										20
									
								
								README.md
									
									
									
									
									
								
							| @@ -1,8 +1,6 @@ | |||||||
| # gitea |  | ||||||
| ------- |  | ||||||
|  |  | ||||||
| # Usage | # Usage | ||||||
| ------- |  | ||||||
|  | Check the environment variables for SecretSquirrels to hide/change, and then run :  | ||||||
|  |  | ||||||
| ``` | ``` | ||||||
| docker-compose pull | docker-compose pull | ||||||
| @@ -10,18 +8,16 @@ docker-compose up -d | |||||||
| ``` | ``` | ||||||
|  |  | ||||||
| # Purpose | # Purpose | ||||||
| --------- |  | ||||||
|  |  | ||||||
| Create containers for Gitea, Mariadb, and phpMyAdmin. Only enabled for localhost access, no external. | Create containers for Gitea, Mariadb, and phpMyAdmin. Only enabled for localhost access, no external. | ||||||
|  |  | ||||||
| # Limitations | # Traffic Mapping for External Access | ||||||
| ------------- |  | ||||||
|  |  | ||||||
| If external access to this resource is desired, please configure HAProxy, HTTPD, or nginx with the following :  | If external access to this resource is desired, please configure HAProxy, HTTPD, or nginx with the following :  | ||||||
|  |  | ||||||
| | External Port | Local Port | Protocol | Suggestions | | | External Port | Local Port | Protocol | URI Mapping | Suggestions | | ||||||
| | ------------- | ---------- | -------- | ----------- | | | ------------- | ---------- | -------- | ----------- | ----------- | | ||||||
| | 80            | XXX        | HTTP     | Redirect all traffic to 443 | | | 80            | XXX        | HTTP     | /           | Redirect all traffic to 443 | Keep /.well-known local if you wish to use LetsEncrypt | | ||||||
| | 443           | 3000       | HTTP     | Pass the URI / to local port 3000 for Gitea, and the URI /phpMyAdmin/ as / to local port 5000 for phpMyAdmin | | | 443           | 3000       | HTTP     | / to port 3000, and /phpMyAdmin as / to port 4000 | Keep /.well-known local if you wish to use LetsEncrypt | | ||||||
| | 4000          | 4000       | TCP      | SSH for GIT runs here, pass this traffic as-is | | | 4000          | 4000       | TCP      | N/A         | Enable this to allow SSH access | | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user