Merge branch 'main' of ssh://git.cesium.pw:2335/niku/5feet11
This commit is contained in:
commit
0944a14a97
@ -1,4 +1,4 @@
|
|||||||
FROM golang:alpine AS builder
|
FROM golang:1.19-alpine AS builder
|
||||||
|
|
||||||
LABEL stage=gobuilder
|
LABEL stage=gobuilder
|
||||||
|
|
||||||
@ -19,8 +19,8 @@ RUN go build -ldflags="-s -w" -o /app/5feet11 .
|
|||||||
FROM scratch
|
FROM scratch
|
||||||
|
|
||||||
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
COPY --from=builder /etc/ssl/certs/ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
||||||
COPY --from=builder /usr/share/zoneinfo/Europe/Amsterdam /usr/share/zoneinfo/Europe/Amsterdam
|
COPY --from=builder /usr/share/zoneinfo/Etc/UTC /usr/share/zoneinfo/Etc/UTC
|
||||||
ENV TZ Europe/Amsterdam
|
ENV TZ Etc/UTC
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=builder /app/5feet11 /app/5feet11
|
COPY --from=builder /app/5feet11 /app/5feet11
|
||||||
|
@ -17,13 +17,6 @@ services:
|
|||||||
- .docker/prometheus:/etc/prometheus
|
- .docker/prometheus:/etc/prometheus
|
||||||
- prometheus-data:/prometheus
|
- prometheus-data:/prometheus
|
||||||
command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml
|
command: --web.enable-lifecycle --config.file=/etc/prometheus/prometheus.yml
|
||||||
# api:
|
|
||||||
# build:
|
|
||||||
# context: .
|
|
||||||
# ports:
|
|
||||||
# - 5111:5111
|
|
||||||
# depends_on:
|
|
||||||
# - scylla
|
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
prometheus-data:
|
prometheus-data:
|
Loading…
x
Reference in New Issue
Block a user