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镜像 #29

Open
a76yyyy opened this issue Mar 8, 2022 · 0 comments
Open

实现一键部署Docker镜像 #29

a76yyyy opened this issue Mar 8, 2022 · 0 comments

Comments

@a76yyyy
Copy link

a76yyyy commented Mar 8, 2022

基于NeteaseCloudMusicApiVue-NeteaseCloud-WebMusicApp实现一键部署的Docker镜像

Github地址

https://github.com/a76yyyy/NeteaseMusicWeb-Docker

Docker容器部署方式

  1. Docker地址 : https://hub.docker.com/r/a76yyyy/netease_music_web

  2. Docker Compose部署方式

    # 创建并切换至 netease 目录
    mkdir -p $(pwd)/netease && cd $(pwd)/netease
    # 下载 docker-compose.yml
    wget https://cdn.jsdelivr.net/gh/a76yyyy/NeteaseMusicWeb-Docker@main/docker-compose.yml
    wget https://cdn.jsdelivr.net/gh/a76yyyy/NeteaseMusicWeb-Docker@main/Dockerfile
    # 根据需求和配置描述修改配置环境变量
    vi ./docker-compose.yml
    # 执行 Docker Compose 命令
    docker-compose up -d --build

    DockerHub仓库的镜像所需后端API地址为 http://localhost:3000 ;

    如果没有搭建后端镜像或者API地址不为上述地址,可使用 docker-compose 方式修改配置后部署,

    请勿使用 docker pull a76yyyy/netease_music_web 方式直接拉取镜像

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

1 participant