I installed mailcow, and immediately afterwards I tried to install Nginx Proxy Manager.
The mailcow images start, but Nginx Proxy Manager keeps restarting. The error message is “ERROR: /etc/letsencrypt is not mounted. Check your docker configuration”
It does not print, but I suspect that the “data” volume is not mounted either.
The contents of docker-compose.override.yml are as follows:
"version: ‘3.8’
services:
nginx-proxy-manager:
depends_on:
nginx-mailcow:
condition: service_started
image: ‘jc21/nginx-proxy-manager:latest’
restart: unless-stopped
ports:
volumes:
npm-data:
driver_opts:
type: none
device: /opt/npm_data/data:Z
o: bind
npm-letsencrypt:
driver_opts:
type: none
device: /opt/npm_data/letsencrypt:Z
o: bind
networks:
default:
external: true
name: mailcowdockerized_mailcow-network
"

What could be the problem?
Thanks in advance for your help.

  • esackbauer

    Thanks esackbauer!

    On the mailcow.conf the bind is as follows:
    HTTP_PORT=8080
    HTTP_BIND=127.0.0.1

    HTTPS_PORT=8443
    HTTPS_BIND=127.0.0.1
    and
    SKIP_LETS_ENCRYPT=y

    The solution was to install the container in a container (/opt/npm).

    Here is the content of docker/compose.yml:
    version: ‘3.8’
    services:
    nginx-proxy-manager:
    image: ‘jc21/nginx-proxy-manager:latest’
    restart: unless-stopped
    ports:
    - ‘80:80’
    - ‘443:443’
    volumes:
    - ‘./data:/data’
    - ‘./letsencrypt:/etc/letsencrypt’
    networks:
    default:
    external: true
    name: mailcowdockerized_mailcow-network

Have something to say?

Join the community by quickly registering to participate in this discussion. We'd like to see you joining our great moo-community!

esackbauer

Thanks esackbauer!

On the mailcow.conf the bind is as follows:
HTTP_PORT=8080
HTTP_BIND=127.0.0.1

HTTPS_PORT=8443
HTTPS_BIND=127.0.0.1
and
SKIP_LETS_ENCRYPT=y

The solution was to install the container in a container (/opt/npm).

Here is the content of docker/compose.yml:
version: ‘3.8’
services:
nginx-proxy-manager:
image: ‘jc21/nginx-proxy-manager:latest’
restart: unless-stopped
ports:
- ‘80:80’
- ‘443:443’
volumes:
- ‘./data:/data’
- ‘./letsencrypt:/etc/letsencrypt’
networks:
default:
external: true
name: mailcowdockerized_mailcow-network

No one is typing