Giter VIP home page Giter VIP logo

Comments (8)

cyf-2002 avatar cyf-2002 commented on May 22, 2024 1

部署 gvb-server 的时候这一行报错了 提示我 /gvb 下没有go文件 这个WORKDIR是不是要做修改
RUN go build -o server .

from gin-vue-blog.

szluyu99 avatar szluyu99 commented on May 22, 2024

请重新拉取一下最近的项目,最近重新测试了一下,应该没有问题

from gin-vue-blog.

richgene avatar richgene commented on May 22, 2024

ERROR [builder 4/4] RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,https://goproxy.io,direct && go mod tidy && go build -o server . 0.3s

[builder 4/4] RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,https://goproxy.io,direct && go mod tidy && go build -o server .:
#11 0.236 go mod tidy: go.mod file indicates go 1.19, but maximum supported version is 1.17

from gin-vue-blog.

szluyu99 avatar szluyu99 commented on May 22, 2024

把用 docker-compose 一键运行模块重新整理了一下,应该没问题了

Linux 下可以正常启动:(Windows 请使用 GitBash 进行操作)

git clone https://github.com/szluyu99/gin-vue-blog 
cd gin-vue-blog/deploy
./bootstrap.sh

from gin-vue-blog.

szluyu99 avatar szluyu99 commented on May 22, 2024

后端重构了一下,拉取最新项目应该可以了

from gin-vue-blog.

180abcd avatar 180abcd commented on May 22, 2024

macbook@bogon deploy % ./bootstrap.sh
未找到容器 gvb-web
未找到容器 gvb-server
未找到容器 gvb-redis
未找到容器 gvb-mysql
本项目相关 Docker 容器清理完成
open /Users/macbook/.docker/buildx/current: permission denied 这是为啥

from gin-vue-blog.

chicc4923 avatar chicc4923 commented on May 22, 2024

macbook@bogon deploy % ./bootstrap.sh 未找到容器 gvb-web 未找到容器 gvb-server 未找到容器 gvb-redis 未找到容器 gvb-mysql 本项目相关 Docker 容器清理完成 open /Users/macbook/.docker/buildx/current: permission denied 这是为啥

给个权限试试

from gin-vue-blog.

chicc4923 avatar chicc4923 commented on May 22, 2024

后端重构了一下,拉取最新项目应该可以了

今天尝试了一下,还是会出现这个问题,两个分支都一样。

[root@master deploy]# ./bootstrap.sh
未找到容器 gvb-web
未找到容器 gvb-server
未找到容器 gvb-redis
未找到容器 gvb-mysql
本项目相关 Docker 容器清理完成
ERROR: The Compose file './docker-compose.yml' is invalid because:
services.gvb-server.ports is invalid: Invalid port "5678 # 前台服务端口:5678 # 前台服务端口", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.gvb-server.ports is invalid: Invalid port "8765 # 后台服务端口:8765 # 后台服务端口", should be [[remote_ip:]remote_port[-remote_port]:]port[/protocol]
services.gvb-server.depends_on contains an invalid type, it should be an array

系统信息如下:

[root@master deploy]# cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)

Docker 版本如下:

[root@master deploy]# docker --version
Docker version 25.0.3, build 4debf41
[root@master deploy]#

from gin-vue-blog.

Related Issues (12)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.