Skip to content

[Bug] 无法通过docker内网连接Miniflux || [Bug] Cannot connect to Miniflux through docker intranet #402

@Jastmaskerrr

Description

@Jastmaskerrr

Describe the Bug

在公网可以正常使用,但reactflux和Miniflux 加入同一个Docker 网络,使用Docker 的内部 DNS 解析,无法连接

Steps to Reproduce

reactflux配置

services:
  reactflux:
    image: electh/reactflux:latest
    container_name: reactflux
    restart: unless-stopped
    networks:
      - backend
      - frontend
    #ports:
    #  - 2000:2000
networks:
  backend:
    external: true
  frontend:
    external: true

miniflux配置

services:
  miniflux:
    image: ${MINIFLUX_IMAGE:-miniflux/miniflux:latest}
    container_name: miniflux
    restart: unless-stopped
    networks:
      - backend
      - frontend
    environment:
      BASE_URL: ${BASE_URL}
      DATABASE_URL: postgres://miniflux:${DB_PASSWORD}@postgres-main:5432/miniflux?sslmode=disable
      RUN_MIGRATIONS: "1"
      CREATE_ADMIN: "1"
networks:
  backend:
    external: true
  frontend:
    external: true

Expected Behavior

希望可以通过内网连接

Screenshots / Videos

Image Image

ReactFlux Version

v2025.08.02

Miniflux Version

2.2.11

Browser

Firefox 141.0

Operating System

Windows 11 24H2

Device

Desktop

Console Errors

Additional Context

No response


###Describe the Bug

It can be used normally on the public network, but reactflux and Miniflux are added to the same Docker network, and use Docker's internal DNS resolution, and cannot connect.

Steps to Reproduce

reactflux configuration

services:
  reactflux:
    image: electth/reactflux:latest
    container_name: reactflux
    restart: unless-stopped
    networks:
      - backend
      - frontend
    #ports:
    # - 2000:2000
networks:
  backend:
    external: true
  frontend:
    external: true

Miniflux configuration

services:
  miniflux:
    image: ${MINIFLUX_IMAGE:-miniflux/miniflux:latest}
    container_name: miniflux
    restart: unless-stopped
    networks:
      - backend
      - frontend
    environment:
      BASE_URL: ${BASE_URL}
      DATABASE_URL: postgres://miniflux:${DB_PASSWORD}@postgres-main:5432/miniflux?sslmode=disable
      RUN_MIGRATIONS: "1"
      CREATE_ADMIN: "1"
networks:
  backend:
    external: true
  frontend:
    external: true

Expected Behavior

Hopefully connect via the intranet

Screenshots / Videos

Image Image

ReactFlux Version

v2025.08.02

Miniflux Version

2.2.11

Browser

Firefox 141.0

Operating System

Windows 11 24H2

Device

Desktop

Console Errors

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions