Canon 940 A special lamp which indicates and honors the presence of Christ is to shine continuously before a tabernacle in which the Most Holy Eucharist is reserved.
**The Means of Indicating the Presence of the Blessed Sacrament in the Tabernacle
**
…According to the traditional practice, a lamp should burn continually near the tabernacle as a sign of the honor paid to the Lord.
Holy Communion and Worship of the Eucharist outside Mass
11 …According to traditional usage, an oil lamp or lamp with a wax candle is to burn constantly near the tabernacle as a sign of the honor shown to the Lord.
Usually it is a candle inside a glass container placed inside a glass container securely hanging or standing near the tabernacle. This manner essentially eliminates any possibility of an issue with fire/accident.
DISCLAIMER: Catholic Answers has turned over the archive to Catholic-Questions.org and no longer owns, manages, or moderates the forums. For additional apologetics resources please visit www.catholic.com.