viossat / docker-keeweb

https://hub.docker.com/r/viossat/keeweb/
MIT License
10 stars 6 forks source link

access keeweb config #2

Open madcoda9000 opened 4 days ago

madcoda9000 commented 4 days ago

Hello,

I am using this compose:

name: keeweb
services:
    keeweb:
        ports:
            - 3080:80
        environment:
            - WEBDAV_USERNAME=sheimann
            - WEBDAV_PASSWORD=heineu@900!
        volumes:
            - /volume1/docker/keeweb/webdav:/usr/share/nginx/html/webdav
            - /volume1/docker/keeweb/web:/usr/share/nginx/html/keeweb
        image: viossat/keeweb

As you can see I am trying to mount the keeweb folder so that i can modify the keeweb config. I'v tried this because I've seen that your dockerfile copies keeweb from git to /usr/share/nginx/html. But it did not work. The folder is empty.

So, how can i modify the keeweb config?

by the way: your image is working like a charm!

viossat commented 1 day ago

I understand you expect to find the KeeWeb files in /volume1/docker/keeweb/web. However, the host folder is mounted into the container, not the other way around. You can use docker cp to copy the KeeWeb files from the container to the host before mounting, or better, mount only the specific files you want to modify instead of the entire folder.

madcoda9000 commented 1 day ago

ok, thank you.