jawahar273
jawahar273
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
I have to create two service inside same project
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
let me check again
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
beginner dumbass
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
in a project where can multiple service but currently I have create two different project where I am trying to make integration.
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
oh!, now I believe where the problem is
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
may be context got bit messed up it but fine
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
both are deployed in railway right?
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
No description
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
No description
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
you are asking for source code or just railway project screenshot
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
basically need to figuour how to communicate with external tcp connect inside docker container
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
my initial idea was to use K8s, but i have drop as I realize it just for demo purpose so no need for k8s
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
yes
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
it just naming but yes groku is the api layer(golang) which communicate as REST api and timex is private service
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
updated
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
I was going to ask about something like that
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
FROM rust:1.72.0 as rust-build

RUN apt update && apt install -y protobuf-compiler

WORKDIR /app

COPY ./ /app

# RUN protoc --prost-serde_out=/app/server/proto/ -I proto /app/server/proto/api/v1/glue.proto
RUN cd /app/server && cargo build --release
RUN mv /app/server/target/release/server /app/server/target/release/app

FROM golang:1.21.5 as go-build

WORKDIR /go/src/app

RUN apt update && apt install -y protobuf-compiler

COPY ./server ./

RUN go mod download
RUN go vet -v
RUN go test -v

RUN CGO_ENABLED=0 go build -o /go/bin/app


# FROM gcr.io/distroless/static-debian12
FROM debian
WORKDIR /demo

COPY --from=rust-build /app/server/target/release/app /demo/r/
COPY --from=go-build /go/bin/app /demo/g/
FROM rust:1.72.0 as rust-build

RUN apt update && apt install -y protobuf-compiler

WORKDIR /app

COPY ./ /app

# RUN protoc --prost-serde_out=/app/server/proto/ -I proto /app/server/proto/api/v1/glue.proto
RUN cd /app/server && cargo build --release
RUN mv /app/server/target/release/server /app/server/target/release/app

FROM golang:1.21.5 as go-build

WORKDIR /go/src/app

RUN apt update && apt install -y protobuf-compiler

COPY ./server ./

RUN go mod download
RUN go vet -v
RUN go test -v

RUN CGO_ENABLED=0 go build -o /go/bin/app


# FROM gcr.io/distroless/static-debian12
FROM debian
WORKDIR /demo

COPY --from=rust-build /app/server/target/release/app /demo/r/
COPY --from=go-build /go/bin/app /demo/g/
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
head up, it might be little confusing, I am using two build(it is hobby project) one is based go and rust
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
No description
51 replies
RRailway
Created by jawahar273 on 1/14/2024 in #✋|help
Communication with internal service failed without `http`
here I have update the public domain
51 replies