File tree Expand file tree Collapse file tree 4 files changed +8
-8
lines changed
Expand file tree Collapse file tree 4 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ WORKDIR /project
55COPY go.mod go.sum ./
66RUN go mod download
77COPY *.go ./
8- RUN go build -o api-server
8+ RUN go build -o timeseries-api
99
1010# Distribution image
11- FROM ubuntu AS api-server
11+ FROM ubuntu AS timeseries-api
1212WORKDIR /project
1313
14- COPY --from=build /project/api-server ./
14+ COPY --from=build /project/timeseries-api ./
1515COPY public ./public
1616
1717EXPOSE 80
18- ENTRYPOINT [ "./api-server " ]
18+ ENTRYPOINT [ "./timeseries-api " ]
Original file line number Diff line number Diff line change 1- # API Server
1+ # Timeseries API Server
22
3- This is Jay's API for different datasets . It requires a Timescale DB instance.
3+ This is Jay's Timeseries API server . It requires a Timescale DB instance.
44
55## Getting Started
66
Original file line number Diff line number Diff line change 11services :
2- api-server :
2+ timeseries-api :
33 build :
44 context : .
55 dockerfile : Dockerfile
Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ func main() {
5454 metric .WithResource (
5555 resource .NewWithAttributes (
5656 semconv .SchemaURL ,
57- semconv .ServiceName ("api-server " ),
57+ semconv .ServiceName ("timeseries-api " ),
5858 semconv .ServiceVersion ("0.1.0" ),
5959 ),
6060 ),
You can’t perform that action at this time.
0 commit comments