Before turning to meds, make your bedroom dark. Tinfoil on windows works well for this.
Are you on grave 4 days, off 4 days? If so that is rough. It is important to keep a consistent schedule.
I use Tylenol PM, rarely, as a backup if I really need to get to sleep. I wouldn't recommend it regularly due to liver damage and grogginess.
My schedule is really sporadic, I can work 4 nights,have 3 days off, work 2 days 8 hours, 1 day 12, be off for 5 days, work 4 days 12 etc... there's not really any pattern to it. Normally they try to give decent time off between the nights/days though. The hardest shifts are the 12 hour days because I have to be there for 7am, well technically 6:45 to do a proper cross-shift hand over. Getting up early is rough. The 7pm-7am is actually much easier as I'm already up and fully awake, I just have to actually leave the house and show up. No getting up early, no alarm etc.
And yeah, I will definitely want to do something to get the room more dark. I'll probably get a pull down blind. Or I might just put up with it for the few months where it's actually bright that early. Since the majority of the year it's still pitch black at that time. Once I fall asleep then it does not matter.