You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	add v2ray
This commit is contained in:
		| @@ -270,6 +270,7 @@ A collection of delicious docker recipes. | ||||
|     - [ ] node-firefox | ||||
|     - [x] standalone-firefox | ||||
| - [x] tutum/builder | ||||
| - [x] v2ray/official :cn: | ||||
| - [x] wekanteam/wekan | ||||
| - [x] zookeeper | ||||
|  | ||||
|   | ||||
							
								
								
									
										19
									
								
								v2ray/README.md
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										19
									
								
								v2ray/README.md
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,19 @@ | ||||
| v2ray | ||||
| ===== | ||||
|  | ||||
| [v2ray][1] is a platform for building proxies to bypass network restrictions. | ||||
|  | ||||
| ```yaml | ||||
| v2ray: | ||||
|   image: v2ray/official | ||||
|   ports: | ||||
|     - "8001:8001" | ||||
|   volumes: | ||||
|     - ./data:/etc/v2ray | ||||
|   restart: always | ||||
| ``` | ||||
|  | ||||
| Download sample [config.json][2]. | ||||
|  | ||||
| [1]: https://www.v2ray.com/ | ||||
| [2]: https://github.com/v2ray/install/raw/master/docker/official/config.json | ||||
							
								
								
									
										24
									
								
								v2ray/data/config.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										24
									
								
								v2ray/data/config.json
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,24 @@ | ||||
| { | ||||
|   "log" : { | ||||
|     "access": "/dev/stdout", | ||||
|     "error": "/dev/stderr", | ||||
|     "loglevel": "warning" | ||||
|   }, | ||||
|   "inbound": { | ||||
|     "port": 8001, | ||||
|     "protocol": "vmess", | ||||
|     "settings": { | ||||
|       "clients": [ | ||||
|         { | ||||
|           "id": "11111111-2222-3333-4444-555555555555", | ||||
|           "level": 1, | ||||
|           "alterId": 32 | ||||
|         } | ||||
|       ] | ||||
|     } | ||||
|   }, | ||||
|   "outbound": { | ||||
|     "protocol": "freedom", | ||||
|     "settings": {} | ||||
|   } | ||||
| } | ||||
							
								
								
									
										7
									
								
								v2ray/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								v2ray/docker-compose.yml
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,7 @@ | ||||
| v2ray: | ||||
|   image: v2ray/official | ||||
|   ports: | ||||
|     - "8001:8001" | ||||
|   volumes: | ||||
|     - ./data:/etc/v2ray | ||||
|   restart: always | ||||
		Reference in New Issue
	
	Block a user