10:49 AM PT -- In addition to the curfew, Durk will need to wear an ankle monitor at all times. He also is prohibited from having any contact, direct or indirect, with gang members.
He also cannot be near or possess any weapons, and must stay at least 200 yards away from the victim.
Lil Durk will soon get his wish and be sprung outta jail ... after a judge granted him bond.
The rapper was in court Thursday in Atlanta for a bond hearing which the judge granted and set at $250k. Durk will NOT be on house arrest but will have a curfew from 11 PM until 7 AM.
TMZ broke the story ... Durk turned himself in to police nearly a month ago after an arrest warrant was issued in connection to a February shooting outside a restaurant called The Varsity. He asked the court to grant him bond ... arguing he's not a flight risk. Obviously, the judge agreed.
Durk will now be free while he awaits trial for his alleged role in the shooting. The rapper's attorney, Manny Arora, tells TMZ ... Durk will post bond and be released Friday.
Durk had been booked for 5 felony charges ... including criminal attempt to commit murder, aggravated assault, possession of a firearm during commission of a felony, possession of a firearm by a convicted felon, and another charge of associating with a criminal street gang to participate in a crime.