You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	update frp
This commit is contained in:
		| @@ -5,5 +5,17 @@ frp | ||||
| or firewall to the internet. Now, it supports tcp, udp, http and https protocol | ||||
| when requests can be forwarded by domains to backward web services. | ||||
|  | ||||
| ```yaml | ||||
| frps: | ||||
|   image: vimagick/frp | ||||
|   ports: | ||||
|     - "7000:7000/tcp" | ||||
|     - "7000:7000/udp" | ||||
|     - "7500:7500/tcp" | ||||
|     - "127.0.0.1:20000-20099:20000-20099/tcp" | ||||
|   volumes: | ||||
|     - ./data/frps.ini:/opt/frp/frps.ini | ||||
|   restart: always | ||||
| ``` | ||||
|  | ||||
| [1]: https://github.com/fatedier/frp | ||||
|   | ||||
| @@ -8,6 +8,6 @@ privilege_token = 12345678 | ||||
| type = tcp | ||||
| local_ip = 127.0.0.1 | ||||
| local_port = 22 | ||||
| remote_port = 6000 | ||||
| remote_port = 20000 | ||||
| use_encryption = true | ||||
| use_compression = true | ||||
|   | ||||
| @@ -4,6 +4,7 @@ frps: | ||||
|     - "7000:7000/tcp" | ||||
|     - "7000:7000/udp" | ||||
|     - "7500:7500/tcp" | ||||
|     - "127.0.0.1:20000-20099:20000-20099/tcp" | ||||
|   volumes: | ||||
|     - ./data/frps.ini:/opt/frp/frps.ini | ||||
|   restart: always | ||||
|   | ||||
		Reference in New Issue
	
	Block a user