Coder Social home page Coder Social logo

Comments (8)

tobybatch avatar tobybatch commented on July 30, 2024

@rschaerer You will need to mount that file when you start the container. From memory it will look something like this:

docker run --name kimai2  .. etc etc.. -v /opt/kimai-docker/local.yaml:/opt/kimai/config/packages/local.yaml tobybatch/kimai2:prod

from kimai2.

kevinpapst avatar kevinpapst commented on July 30, 2024

Added to the documentation:
https://www.kimai.org/documentation/docker.html

from kimai2.

whoisbarry avatar whoisbarry commented on July 30, 2024

✔️ I mounted my local.yaml file to /opt/kimai/config/packages/local.yaml with the following code.

kimai:

# --------------------------------------------------------------------------------
# AUTHENTICATION
# --------------------------------------------------------------------------------
    user:
        registration: false
        password_reset: true
# --------------------------------------------------------------------------------

❌ Unfortunately I am still able to register new users via the web interface.
🔧 The settings don't show any hint to disable user registration either.

❓ How can I disable that?

from kimai2.

kevinpapst avatar kevinpapst commented on July 30, 2024

Admin > Settings:
Bildschirmfoto 2022-01-25 um 13 51 13

from kimai2.

whoisbarry avatar whoisbarry commented on July 30, 2024

I can't see these settings in my Admin panel.
Forgot to mention that I had to use bkraul/kimai2 image, since the original kimai2 docker image did not come up with a web-ui.

from kimai2.

kevinpapst avatar kevinpapst commented on July 30, 2024

This is a closed issue and you are running a 2 year old docker image that we don't know...

from kimai2.

whoisbarry avatar whoisbarry commented on July 30, 2024

I managed to get this to work with kimai/kimai2:apache image.

From internal networks this works great with calling http://localhost:8001, now I can see the authentication settings.

But when trying to access the web interface through my reverse proxy kimai returns an error 400: Bad Request

Any idea how to fix this?

from kimai2.

whoisbarry avatar whoisbarry commented on July 30, 2024

Figured it out, issue was caused by the TRUSTED_PROXIES entries.

from kimai2.

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.