appstore-1panel/apps/v2raya/2.2.6.3/docker-compose.yml

30 lines
758 B
YAML
Raw Normal View History

networks:
1panel-network:
external: true
services:
v2raya:
image: mzz2017/v2raya:v2.2.6.3
container_name: ${CONTAINER_NAME}
labels:
createdBy: "Apps"
restart: always
networks:
- 1panel-network
privileged: true
ports:
- ${PANEL_APP_PORT_HTTP}:2017
- 20170-20172:20170-20172
env_file:
- ${GLOBAL_ENV_FILE:-/etc/1panel/envs/global.env}
- ${ENV_FILE:-/etc/1panel/envs/default.env}
volumes:
- ${V2RAYA_ROOT_PATH}/v2raya:/etc/v2raya
environment:
- V2RAYA_ADDRESS=:::2017
- V2RAYA_PLUGINLISTENPORT=32346
- V2RAYA_CONFIG=/etc/v2raya
- V2RAYA_WEBDIR=/etc/v2raya/web
- V2RAYA_LOG_FILE=/tmp/v2raya.log
- V2RAYA_V2RAY_BIN=/usr/local/bin/v2ray