How to enable Gitlab OAuth2 in Bookstack docker

I just downloaded your Bookstack docker container, and deployed it using docker-compose

I want to enable OAuth2 via my Gitlab. I tried setting the relevant GITLAB_ variables in config/www/.env but they seem to be ignored.

I added the same variables in the environment section of the docker-compose file - still ignored.

Any idea what I am missing?