• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: October 13th, 2023

help-circle



  • It would be easier if you posted whole compose.
    Here’s an example for NPM, that’s how external volume (that is already created via other means) should be called:

    version: '3.8'
    
    services:
      app:
        image: 'jc21/nginx-proxy-manager:latest'
        container_name: npm
        restart: unless-stopped
        ports:
          - '80:80'       # Public HTTP Port
          - '443:443'     # Public HTTPS Port
          - '81:81'       # Admin Web Port
        environment:
          DISABLE_IPV6: 'true'
        volumes:
          - npm-data:/data
          - npm-letsencrypt:/etc/letsencrypt
    
    networks:
      npm-network:
        external: true
    
    volumes:
      npm-data:
        external: true
      npm-letsencrypt:
        external: true