I cannot programmatically setup users in a Docker container

You could use this from your host to create your admin user:
docker exec -it <container-name> /app/gitea/gitea admin create-user

But I don’t know any other solution for this right now.

1 Like