Turn on the "all around white light" on the top of your mast (aka the anchor light), AND run one of these up hanging from the backstay;
Your boat will meet CG regulations, and be visible by stinkpotters.
yup, some sort of deck level lighting is a must, when anchored where traffic might be a concern...
Really a shame Bebi is no more, Michael's lights are awesome. If anyone ever comes across a Bebi Owl on eBay, buy it. Hotwire still has some of Bebi's old stock around, one might check with them:
Bebi LED lights ? svHotwire - 727-943-0424 | svHotWire
i have the Bebi anchor/warm cockpit combination light, it's fantastic. Hung from the backstay or topping lift, it has the added advantage of affording some measure of security when the boat is left at anchor, anyone boarding and going into the cockpit is gonna be illuminated pretty clearly. With one of these lights suspended over the mainsail cover, someone would have to be blind not to see your boat...
The original Davis megalights were pretty lame, but the newer LEDs are now pretty bright.. Sorry, but I cringe whenever I hear someone recommending solar garden lights, and always envision people going out to Harbor Freight or Walmart to buy theirs

Some might be up to the task, but most of the ones I see others using are essentially worthless, often going dim before I even turn in for the night... Seems after a few days of overcast or gloom, even the best are gonna start losing their punch. For such an important bit of lighting, I really think you want something plugged into the boat's 12v main, especially considering these lights draw virtually nothing in the way of amperage, anyway...
northoceanbeach mentioned spreader lights... Mine are halogens instead of LEDs, so they're gonna draw more than I'd like... I think spreader lights are generally a bit of overkill for most situations, but in the event of fog, such lighting can be perhaps the most effective lighting of all...
I have one of these Aqua Signal bow/foredeck light combos...
This winter, I replaced the original PAR-36 floodlight with an LED version. The added brilliance/intensity is amazing...
I turned it on one night in some heavy fog, and walked down to the end of my lagoon to see what I could see... It looked like a scene out of CLOSE ENCOUNTERS, or something

Couldn't see anything clearly, but there was this amazing orb of light surrounding the vicinity of the boat, it would be unmistakable to anyone that there was
something ahead... The PAR-36 LEDs have a surprisingly modest draw, so next time I'm anchored in a place like Newport, or Nantucket, when the fog rolls in at night, that thing is definitely gonna be on...