File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -62,6 +62,7 @@ RUN ${PACKAGER} -y update && ${PACKAGER} -y install --nodocs \
62
62
busybox \
63
63
dpkg \
64
64
jq \
65
+ rsync \
65
66
&& ${PACKAGER} -y clean all;
66
67
67
68
@@ -217,7 +218,7 @@ RUN mkdir /package && cd /package && wget http://smarden.org/runit/runit-2.1.2.
217
218
RUN ln -s /usr/local/bin/dumb-init /usr/bin/dumb-init && ln -s /usr/local/bin/runsvdir /usr/bin/runsvdir
218
219
219
220
# Clean Up git-repos
220
- RUN rm -rf /pgextwlist /pg_stat_kcache /package / oracle_fdw /pgnodemx \
221
+ RUN rm -rf /pgextwlist /pg_stat_kcache /oracle_fdw /pgnodemx \
221
222
&& rm /etc/pgbackrest.conf && rm -rf /var/spool/pgbackrest;
222
223
223
224
# Clean Up Packages
@@ -234,7 +235,7 @@ ARG TIMESCALEDB
234
235
235
236
EXPOSE 5432 8008 8080
236
237
ENV LC_ALL=en_US.utf-8 \
237
- PATH=$PATH:/usr/pgsql-$PGVERSION/bin \
238
+ PATH=$PATH:/usr/pgsql-$PGVERSION/bin \
238
239
PGHOME=/home/postgres \
239
240
RW_DIR=/run \
240
241
TIMESCALEDB=$TIMESCALEDB \
Original file line number Diff line number Diff line change 1
1
2
2
# User
3
+ CREATE ROLE postgres_exporter with password ' password' ;
4
+ ALTER ROLE postgres_exporter login;
3
5
4
6
GRANT pg_monitor TO postgres_exporter;
5
7
GRANT SELECT ON TABLE pg_authid TO postgres_exporter;
6
8
7
- # Structure
9
+ // Structure
8
10
9
11
CREATE SCHEMA exporter ;
10
12
You can’t perform that action at this time.
0 commit comments