Sign inSign up

monsterfire/bm-connect-bgm.pg

By monsterfire

•Updated 9 months ago

Image
0

2.4K

monsterfire/bm-connect-bgm.pg repository overview

⁠本镜像主要给byte-muse使用,以提供bt数据接口

使用前提,拥有mgb抓取的PostgreSQL数据库

⁠compose文件


version: "3.8"  # 明确 Compose 版本(推荐 3.8+)

services:
  # 应用服务
  app:
    image: monsterfire/bm-connect-bgm.pg:latest
    container_name: bm-connect-bmg.pg
    environment:
      # PostgreSQL 配置环境变量(PGHOST 填 postgres 容器名,需同网络)
      PGHOST: <你的 PostgreSQL 数据库 IP 地址>
      PGPORT: <你的 PostgreSQL 数据库端口>
      PGUSER: <你的 PostgreSQL 数据库用户名>
      PGPASSWORD: <你的 PostgreSQL 数据库密码>
      PGDATABASE: <你的 PostgreSQL 数据库名称>
    ports:
      - "11122:11122"
    restart: unless-stopped

⁠byte-muse添加环境参数

  - BT_URL=http://host.docker.internal:11122/bt/api
  - BT_METHOD=GET

Tag summary

Content type

Image

Digest

sha256:59ae80c15…

Size

9.1 MB

Last updated

9 months ago

docker pull monsterfire/bm-connect-bgm.pg