OMV6 NGINX Proxy Manager installation

  • I'm running OMV6 on a Pi4. I installed docker with these instructions a while back and it works just fine:

    omv6:docker_in_omv [omv-extras.org]


    The above instructions specifiy the creation of 3 folders:


    /SSD/appdata

    /SSD/docker

    /SSD/compose


    which I have done.




    https://nginxproxymanager.com/…hosting-your-home-network provides the following YML template (I use Docker-Compose, and not Portainer):


    version: '3.8'

    services:

    app:

    image: 'jc21/nginx-proxy-manager:latest'

    restart: unless-stopped

    ports:

    - '8080:80'

    - '8181:81'

    - '4433:443'

    volumes:

    - ./data:/data

    - ./letsencrypt:/etc/letsencrypt


    I changed the ports for now to avoid some conflicts, and I'm guessing I need to set the volumes to:


    volumes:

    - /SSD/appdata/nginx-proxy-manager:/data

    - ./letsencrypt:/etc/letsencrypt <-- not sure what to set this to.


    My main question is how to map the letsencrypt volume. Would:


    /SSD/appdata/letsencrypt:/etc/letsencrypt


    be OK??

  • KM0201

    Approved the thread.
  • Not sure if it helps, but this is mine;


    volumes:

    - /srv/dev-disk-by-uuid-b92f138b-3bc4-41c7-8b74-d22703a90420/Docker/docker/containers/nginxproxymanager/data:/data

    - ./letsencrypt:/etc/letsencrypt

    • Official Post

    My main question is how to map the letsencrypt volume. Would:

    ```

    /SSD/appdata/letsencrypt:/etc/letsencrypt

    ```

    be OK??

    You would have to read the documentation for the container to know what it expects to find the container in that directory. I think there may be two possibilities:

    1. The container expects to find the Letsencrypt certificates. In this case you must map that volume to a folder on your system that contains those certificates.

    2. If the container generates the certificates itself and store them in that folder. In that case you can map that volume to the folder you want and you will have them accessible if you want another container to be able to read them, for example.

  • Thanks for the feedback. I'm somewhat cautious about giving containers access to system files/directories on my SD card, but will dig some more...

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!