In doing some more reading of the article you attached, I see this: Can you think of any way I could debug this problem? I am trying to see it from my program using:īut instead of getting 2, I get null. PATH=/opt/bitnami/php/bin:/opt/bitnami/php/sbin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/binīITNAMI_IMAGE_VERSION=7.2.32-debian-10-r1 Here is what I see from within the docker exec 98e env TESTHOST is the sample env that I have passed in. If I was, I probably wouldn't be using bitnami for it. Regardless I need to understand why my code can't see the env variable that I have passed in. Could it be that the container is using user 1001 and my code is not? Or does that ONLY affect files? But for some reason I cannot seem to "see them" from my code running in the bitnami/bitnami-docker-apache container. As I said, i can see that they are successfully being passed into the environment. I have stepped back from trying to get CredentialProvider to work and am trying to just pass in my credentials via an. env file to pass in environment variables. I have already made some custom mods of the. Htaccess (either on the laptop or on the server) and this is where I will create the ENV variable. If this is set to LAPTOP, then my code needs to run a slightly different setting for FusionAuth, that I use to enable users to answer surveys. I also need to create an ENV variable called machine. I also am not sure, since I don't see /home/binami/.aws, if I have correctly set up bitnami under docker. The issue is that I don's see a /home/bitnami dir in the container.īut the Bitnami docs say to create it in home/bitnami/.aws/. This app seems to be creating it in /home/.aws/. I have run Configure Credentials to create the defaultProvider. To do this I need to setup a CredentialProvider and the AWS docs say to do this at /home/.aws/configuration.
0 Comments
Leave a Reply. |