• 2 Posts
  • 3 Comments
Joined 2 years ago
cake
Cake day: June 13th, 2023

help-circle
  • Awesome, thanks…I’ll try that. So to be sure I’m understanding - I want to add “external: true” beneath "name: proxy: and then add the following to each container in the compose?

    networks:
                      - proxy
    
    

    I believe I might be doing that wrong because I get an error about undefined network when I try the below, and simply defining “external” doesn’t fix it:

    ---
    version: "2.1"
    services:
      freshrss:
        image: lscr.io/linuxserver/freshrss:latest
        container_name: freshrss
        environment:
          - PUID=1000
          - PGID=1000
          - TZ=America/New_York
          - BASE_URL=[redacted]
        volumes:
          - /media/config/freshrss:/config
        ports:
          - 8040:80
        restart: unless-stopped
        networks:
          - proxy
    
    networks:
      default:
        name: proxy
        external: true