Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose.yml文件中有些配置不是很明白 #43

Open
Seameee opened this issue Aug 8, 2024 · 2 comments
Open

docker-compose.yml文件中有些配置不是很明白 #43

Seameee opened this issue Aug 8, 2024 · 2 comments

Comments

@Seameee
Copy link

Seameee commented Aug 8, 2024

PixPin_2024-08-08_23-39-01
你好,我在尝试使用提供的docker-compose.yml文件时遇到了一些问题,希望能得到解答,主要是部分环境变量与readme文件中的描述不符

  1. "APIUSER" "APIPWD",这两个变量似乎是给basic认证使用的,我尝试删除两个变量或者变量内容写空,会导致后端报错后无限重启,如果保留两个变量就会在打开网站时显示需要basic登录认证
  2. "RoleRootPassword",这个变量不知道作用是什么,我删除掉这一项也没有引起什么错误
  3. "PlaylistSize" "ForeverlistSize",这两个看变量名应该是显示的播放列表和我喜欢列表的数量或者歌单内歌曲的数量,希望能重新标注一下变量配置要求或者注释
  4. "QqMusicGuid",这个变量我在cookies里没有找到,辛苦给说明一下需要如何配置,还是保持默认即可

以下是我配置使用的docker-compose.yml文件内容:

version: "3"
services:
  service_redis:
    restart: always
    #    ports:
    #      - 6379:6379
    image: redis
    container_name: redis
    environment:
      - TZ=Asia/Shanghai
    command: redis-server
    volumes:
      - /root/MusicParty/data:/data  #redis数据挂载到本地
  service_jusicMusicApi:
    image: jumpalang/jusic_music_api:2.0
    environment:
      - QQ=123456789 #qq号
    container_name: jusicMusicApi
    ports:
    #  - "3000:3000"
      - "3300:3300"
    #      - "3400:3400"
    #      - "8081:8081"
    restart: always
  service_jusicServeHouses:
    container_name: jusicServeHouses
    image: jumpalang/jusic_serve_houses:4.9
    environment:
      - MusicApi=http://jusicMusicApi  #必须与service_jusicMusicApi的container_name一致
      - APIUSER=admin  #api认证接口用户名
      - APIPWD=123
      - [email protected]
      - WyPassword=xxxxxx
      - PlaylistSize=23
      - ForeverlistSize=66
      - ReTryCount=2
      - RedisHost=redis
      - QqUin=123456789
      - QqMusicKey=Q_H_L_63k3NK0dL_E8tMfY4AGSBZrt4G323…
      - QqMusicGuid=114514
      - QqCdnAddr=http://ws.stream.qqmusic.qq.com/
      - QqRefreshInterval=86000000
      - HouseSize=5
      - IpHouse=1
    ports:
      - "8081:8888"
    depends_on:
      - service_redis
      - service_jusicMusicApi
    restart: always
@JumpAlang
Copy link
Owner

关于:1."APIUSER" "APIPWD",部署后直接访问http://ip:8081也这样吗
2."RoleRootPassword",超级管理员的密码,可以登录任一房间
3."PlaylistSize" "ForeverlistSize",这两个看变量名是针对非永久房和永久房的点歌列表的歌曲数量限制
4."QqMusicGuid",目前没用到,可以不配

@Seameee
Copy link
Author

Seameee commented Aug 26, 2024

关于:1."APIUSER" "APIPWD",部署后直接访问http://ip:8081也这样吗 2."RoleRootPassword",超级管理员的密码,可以登录任一房间 3."PlaylistSize" "ForeverlistSize",这两个看变量名是针对非永久房和永久房的点歌列表的歌曲数量限制 4."QqMusicGuid",目前没用到,可以不配

您好,最近比较忙没有尝试了,不过之前使用域名反代配置"APIUSER" "APIPWD"后,进入房间就会要求填写这个认证信息,没有直接用ip打开没注意,下次有时间我再尝试一下

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants