• 2 Posts
  • 10 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle


  • Interestingly - when I point it to port 80 at the freshrss host, it works. Which doesn’t make sense to me, likely due to a fundamental misunderstanding of how Docker works? My understanding was the above compose would expose port 8040, not port 80. Setting it to port 80 didn’t even cross my mind. I noticed that my wordpress compose listed “8080:80” and NPM was set to port 80, and it was already working…it was late last night when I got that up and running, so that might explain some of the confusion…


  • 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? Edit: I now realize the below is the freshrss stack and not the miniflux stack, but I have the same issue with both compose files and the proxy host

    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