-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from graphite-project/DZ-1.1.6-1
Release 1.1.6-1
- Loading branch information
Showing
5 changed files
with
12 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM alpine:3.10.2 as base | ||
FROM alpine:3.10.3 as base | ||
LABEL maintainer="Denys Zhdanov <[email protected]>" | ||
|
||
RUN true \ | ||
|
@@ -53,7 +53,7 @@ RUN true \ | |
&& virtualenv /opt/graphite \ | ||
&& . /opt/graphite/bin/activate \ | ||
&& pip3 install \ | ||
django==1.11.24 \ | ||
django==1.11.25 \ | ||
django-statsd-mozilla \ | ||
fadvise \ | ||
gunicorn \ | ||
|
@@ -64,7 +64,7 @@ RUN true \ | |
mysqlclient \ | ||
psycopg2 | ||
|
||
ARG version=1.1.5 | ||
ARG version=1.1.6 | ||
|
||
# install whisper | ||
ARG whisper_version=${version} | ||
|
@@ -93,12 +93,12 @@ RUN . /opt/graphite/bin/activate \ | |
&& python3 ./setup.py install | ||
|
||
# install statsd (as we have to use this ugly way) | ||
ARG statsd_version=8d5363cb109cc6363661a1d5813e0b96787c4411 | ||
ARG statsd_repo=https://github.com/etsy/statsd.git | ||
ARG statsd_version=0.8.5 | ||
ARG statsd_repo=https://github.com/statsd/statsd.git | ||
WORKDIR /opt | ||
RUN git clone "${statsd_repo}" \ | ||
&& cd /opt/statsd \ | ||
&& git checkout "${statsd_version}" \ | ||
&& git checkout tags/v"${statsd_version}" \ | ||
&& npm install | ||
|
||
COPY conf/opt/graphite/conf/ /opt/defaultconf/graphite/ | ||
|
@@ -124,7 +124,6 @@ COPY conf / | |
# copy /opt from build image | ||
COPY --from=build /opt /opt | ||
|
||
|
||
# defaults | ||
EXPOSE 80 2003-2004 2013-2014 2023-2024 8080 8125 8125/udp 8126 | ||
VOLUME ["/opt/graphite/conf", "/opt/graphite/storage", "/opt/graphite/webapp/graphite/functions/custom", "/etc/nginx", "/opt/statsd/config", "/etc/logrotate.d", "/var/log", "/var/lib/redis"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
#!/bin/sh | ||
|
||
[ -n "${REDIS_TAGDB}" ] || exit 0 | ||
mkdir -p /var/log/redis/ | ||
exec /usr/bin/redis-server /etc/redis/redis.conf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters