read boolean from env file



  • Hi all, I have been trying to use docker-compose with env file. I have created env file and added content -

    extensions_authentication_admin_username=admin
    extensions_authentication_admin_password=password
    extensions_authentication_enabled=true
    extensions_authentication_cookieSession_secret=dasd32
    

    Js report should prompt for username & password but it is not.

    here is my compose file.

    version: "3.8"
    
    services: 
      jsreport-server:
        image: "jsreport/jsreport:2.10.0-full"
        ports: 
          - "5488:5488"
        env_file: 
          "./jsreport/jsreport.env"
    

    I think it is not reading true and boolean.
    Thanks for your help.



  • I have checked inside running docker-container also, extensions_authentication_enabled getting set to true but I am not prompted for username and password.



  • Oops! My Bad. It was not an error. I was already logged in from last week's session. It's working fine now.


Log in to reply
 

Looks like your connection to jsreport forum was lost, please wait while we try to reconnect.