File tree 6 files changed +10
-10
lines changed
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 48
48
}
49
49
50
50
:443 {
51
- reverse_proxy web:3000
51
+ reverse_proxy git- web:3000
52
52
encode zstd gzip
53
53
}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ ENV LDFLAGS="-s -w"
22
22
23
23
ENV GOOS=${TARGETOS} GOARCH=${TARGETARCH}
24
24
25
- RUN go build -ldflags "$LDFLAGS" -o /go/bin/web ./cmd/web
25
+ RUN go build -ldflags "$LDFLAGS" -o /go/bin/git- web ./cmd/git- web
26
26
27
27
FROM builder-deps as builder-ssh
28
28
@@ -36,14 +36,14 @@ ENV LDFLAGS="-s -w"
36
36
37
37
ENV GOOS=${TARGETOS} GOARCH=${TARGETARCH}
38
38
39
- RUN go build -ldflags "$LDFLAGS" -o /go/bin/ssh ./cmd/ssh
39
+ RUN go build -ldflags "$LDFLAGS" -o /go/bin/git- ssh ./cmd/git- ssh
40
40
41
41
FROM scratch as release-web
42
42
43
43
WORKDIR /app
44
44
45
45
COPY --from=builder-web /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
46
- COPY --from=builder-web /go/bin/web ./web
46
+ COPY --from=builder-web /go/bin/git- web ./git- web
47
47
48
48
CMD ["/app/web" ]
49
49
@@ -53,6 +53,6 @@ WORKDIR /app
53
53
ENV TERM="xterm-256color"
54
54
55
55
COPY --from=builder-ssh /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/
56
- COPY --from=builder-ssh /go/bin/ssh ./ssh
56
+ COPY --from=builder-ssh /go/bin/git- ssh ./git- ssh
57
57
58
- CMD ["/app/ssh" ]
58
+ CMD ["/app/git- ssh" ]
Original file line number Diff line number Diff line change @@ -21,8 +21,8 @@ snapshot:
21
21
.PHONY : snapshot
22
22
23
23
build :
24
- go build -o ./build/ssh ./cmd/ssh
25
- go build -o ./build/web ./cmd/web
24
+ go build -o ./build/git- ssh ./cmd/git- ssh
25
+ go build -o ./build/git- web ./cmd/git- web
26
26
.PHONY : build
27
27
28
28
bp-setup :
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -19,15 +19,15 @@ services:
19
19
- " ${GITPR_HTTPS_V6:-[::1]:443}:443"
20
20
- " ${GITPR_HTTP_V6:-[::1]:80}:80"
21
21
web :
22
- command : " /app/web --config ${GITPR_CONFIG_PATH}"
22
+ command : " /app/git- web --config ${GITPR_CONFIG_PATH}"
23
23
networks :
24
24
git :
25
25
aliases :
26
26
- web
27
27
env_file :
28
28
- .env.prod
29
29
ssh :
30
- command : " /app/ssh --config ${GITPR_CONFIG_PATH}"
30
+ command : " /app/git- ssh --config ${GITPR_CONFIG_PATH}"
31
31
networks :
32
32
git :
33
33
aliases :
You can’t perform that action at this time.
0 commit comments