- add multiple proxy port configurations (socks5, http, http with shunt rule)
- update docker-compose to use environment variables for proxy ports
- improve volume configuration with timezone and kernel modules
- clean up readme by removing build status badges and usage sections
- update logo image
📝 docs(v2raya): simplify readme content
- remove docker build status badges and travis-ci build status
- remove language selection links and usage instructions
- remove screenshots, notices, acknowledgments and license sections
- keep only essential project description and repository link
28 lines
666 B
YAML
28 lines
666 B
YAML
networks:
|
|
1panel-network:
|
|
external: true
|
|
|
|
services:
|
|
v2raya:
|
|
image: mzz2017/v2raya:v2.2.7.4
|
|
container_name: ${CONTAINER_NAME}
|
|
labels:
|
|
createdBy: "Apps"
|
|
restart: always
|
|
networks:
|
|
- 1panel-network
|
|
privileged: true
|
|
ports:
|
|
- ${PANEL_APP_PORT_HTTP}:2017
|
|
- ${SOCKS5_PROXY_PORT}:20170
|
|
- ${HTTP_PROXY_PORT}:20171
|
|
- ${HTTP_SHUNT_PROXY_PORT}:20172
|
|
volumes:
|
|
- ./v2raya:/etc/v2raya
|
|
- /etc/localtime:/etc/localtime:ro
|
|
- /lib/modules:/lib/modules:ro
|
|
environment:
|
|
- V2RAYA_ADDRESS=0.0.0.0:2017
|
|
- V2RAYA_PLUGINLISTENPORT=32346
|
|
- V2RAYA_V2RAY_BIN=/usr/local/bin/v2ray
|