Dockerfile
This commit is contained in:
parent
1febae4ce4
commit
4f632a0d52
2 changed files with 16 additions and 0 deletions
9
Dockerfile
Normal file
9
Dockerfile
Normal file
|
@ -0,0 +1,9 @@
|
|||
FROM golang:1.23
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY main.go go.mod go.sum config /app/
|
||||
|
||||
RUN go build -v ./
|
||||
|
||||
CMD ["/app/main"]
|
7
docker-compose.yaml
Normal file
7
docker-compose.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
services:
|
||||
pleroma_stat_exporter:
|
||||
build: .
|
||||
ports:
|
||||
- "127.0.0.1:9666:9666"
|
||||
volumes:
|
||||
- "./config.yaml:/app/config.yaml"
|
Loading…
Add table
Reference in a new issue