Skip to content

Commit

Permalink
moved microservices to svc
Browse files Browse the repository at this point in the history
  • Loading branch information
timam committed Sep 30, 2023
1 parent 5561a45 commit ba92fd9
Show file tree
Hide file tree
Showing 10 changed files with 4 additions and 128 deletions.
45 changes: 0 additions & 45 deletions docker-compose/README.md

This file was deleted.

40 changes: 0 additions & 40 deletions docker-compose/docker-compose.yaml

This file was deleted.

9 changes: 0 additions & 9 deletions docker-compose/grafana/datasource.yaml

This file was deleted.

30 changes: 0 additions & 30 deletions docker-compose/prometheus/prometheus.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions cmd/genie/Dockerfile → svc/genie/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ COPY ../../go.mod ../../go.sum ./
RUN mkdir /statuz/utils/
COPY ../../utils /statuz/utils/

RUN mkdir -p /statuz/cmd/genie
RUN mkdir -p /statuz/svc/genie
COPY ./cmd/genie /statuz/cmd/genie

RUN go build -o /statuz/bin/genie -ldflags '-w -s' -tags netgo -a -installsuffix cgo -v ./cmd/genie
RUN go build -o /statuz/bin/genie -ldflags '-w -s' -tags netgo -a -installsuffix cgo -v ./svc/genie

FROM alpine:edge
COPY --from=build /statuz/bin/genie /statuz/bin/genie
Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions cmd/watcher/Dockerfile → svc/watcher/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ COPY ../../utils /statuz/utils/
RUN mkdir /statuz/config/
COPY ../../config /statuz/config/

RUN mkdir -p /statuz/cmd/watcher
RUN mkdir -p /statuz/svc/watcher
COPY ./cmd/watcher /statuz/cmd/watcher

RUN go build -o /statuz/bin/watcher -ldflags '-w -s' -tags netgo -a -installsuffix cgo -v ./cmd/watcher
RUN go build -o /statuz/bin/watcher -ldflags '-w -s' -tags netgo -a -installsuffix cgo -v ./svc/watcher

FROM alpine:edge
COPY --from=build /statuz/bin/watcher /statuz/bin/watcher
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit ba92fd9

Please sign in to comment.