GithubHelp home page GithubHelp logo

Comments (5)

luongvm avatar luongvm commented on August 24, 2024 1

@conet please check #93, I just wrote this.

As I inspected, the config would not unset a config node that has children, so PHPREDMIN_AUTH= didn't work for me. (Need verification on this).

After #93 is merged you will be able to disable authentication by setting username to empty.

from phpredmin.

luongvm avatar luongvm commented on August 24, 2024

@conet if you run by one liner you can't do that. but if you use docker-compose or rebuild the docker image mabe you can modify the config.dist.php file and remove the auth section.

I'm pushing up a PR where you can disable auth by setting the PHPREDMIN_AUTH_USERNAME variable to empty.

from phpredmin.

conet avatar conet commented on August 24, 2024

Yeah I know that, but I want to be able to do it using environment variables only, rebuilding or mounting files makes a composition less self-contained, plus there is this statement on the main page:

Note: As you can see you can use ENV variables to override any configuration directive of PHPRedmin.

from phpredmin.

conet avatar conet commented on August 24, 2024

It looks good, thanks.

from phpredmin.

Delagen avatar Delagen commented on August 24, 2024

Use volume mapping to override default config.php and all works (remove auth section)

from phpredmin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.