First account has no access to admin panel

You need to start the Rails console after entering the container. This is it:

cd /var/discourse
./launcher enter app
rails c
u = User.find_by_email('your_email');
u.admin = true;
u.save