I am using the linuxserver Ubuntu base image to create my own docker image.
My Problem is that I i use UID/GID 1000 and it seems that in that context the ENV variables set in the docker compose are not available. Any ideas how to get the env variables in this scenario?
The strange thing is if I enter the docker container via:
docker exec -it containername bash
And then start the python script with python3 script.py
It can read the env variables.