• 7 Posts
  • 8 Comments
Joined 11 months ago
cake
Cake day: November 9th, 2023

help-circle









  • modifed my yml file to match yours

    version: '3.8'

    services:

    networks:

    reverse_proxy:

    external: true

    app:

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

    restart: unless-stopped

    networks:

    - reverse_proxy

    ports:

    # These ports are in format :

    - '80:80' # Public HTTP Port

    - '443:443' # Public HTTPS Port

    - '81:81' # Admin Web Port

    # Add any other Stream port you want to expose

    # - '21:21' # FTP

    # Uncomment the next line if you uncomment anything in the section

    # environment:

    # Uncomment this if you want to change the location of

    # the SQLite DB file within the container

    # DB_SQLITE_FILE: "/data/database.sqlite"

    # Uncomment this if IPv6 is not enabled on your host

    # DISABLE_IPV6: 'true'

    volumes:

    - ./data:/data

    - ./letsencrypt:/etc/letsencrypt

    but when running docer compose up i get this error

    validating /home/ubuntu/nginx-npm/docker-compose.yml: networks.app Additional property restart is not allowed