Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/master-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ jobs:
echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Build and push amd64 image to ghcr.io
run: |
docker buildx build --platform=linux/amd64 --push -t ghcr.io/${{ github.actor }}/graphite-statsd:master .
docker buildx build --platform=linux/amd64 --push -t ghcr.io/deniszh/graphite-statsd:master .
4 changes: 2 additions & 2 deletions .github/workflows/release-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,5 @@ jobs:
VERSION=$(echo "${{ github.ref }}" | sed -e 's,.*/\(.*\),\1,')
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo ${VERSION} | sed -e 's/^v//')
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t ghcr.io/graphite-project/graphite-statsd:${VERSION} .
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t ghcr.io/graphite-project/graphite-statsd:latest .
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t ghcr.io/deniszh/graphite-statsd:${VERSION} .
docker buildx build --platform=linux/arm/v7,linux/arm64/v8,linux/s390x,linux/amd64 --push -t ghcr.io/deniszh/graphite-statsd:latest .
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
ARG BASEIMAGE=alpine:3.15
FROM $BASEIMAGE as base
LABEL maintainer="Denys Zhdanov <denis.zhdanov@gmail.com>"
LABEL org.opencontainers.image.source https://github.com/graphite-project/docker-graphite-statsd

RUN true \
&& apk add --update --no-cache \
Expand Down
15 changes: 13 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ Any suggestions / patches etc. are welcome!
- Starting from `1.1.7-11` we're building linux/s390x versions too.
- Starting from `1.1.7-6` and up to `1.1.8-5` we were building '-pypy' version of x64 image, but now pypy building is disabled because lacking recent pypy docker images based on Alpine.
- Starting from `1.1.9-1` we're building we're building linux/arm/v7 and linux/arm64/v8 by default.
- Starting from `1.1.9-1` we marked ghcr.io as preferred repository instead of Docker hub.
- Starting from `1.1.9-1` we're uploading packages also to ghcr.io/deniszh repository.

# Docker Image for Graphite & Statsd

Expand All @@ -35,7 +35,18 @@ docker run -d\
-p 8126:8126\
graphiteapp/graphite-statsd
```

or
```sh
docker run -d\
--name graphite\
--restart=always\
-p 80:80\
-p 2003-2004:2003-2004\
-p 2023-2024:2023-2024\
-p 8125:8125/udp\
-p 8126:8126\
ghcr.io/deniszh/graphite-statsd
```
This starts a Docker container named: **graphite**

Please also note that you can freely remap container port to any host port in case of corresponding port is already occupied on host. It's also not mandatory to map all ports, map only required ports - please see table below.
Expand Down