This commit is contained in:
parent
36ed46e974
commit
0b214f3b30
14
Dockerfile
14
Dockerfile
@ -1,7 +1,7 @@
|
|||||||
FROM golang:1-alpine AS builder
|
FROM golang:1-alpine AS builder
|
||||||
|
|
||||||
ENV WALG_VERSION=v3.0.5
|
ENV WALG_VERSION v3.0.5
|
||||||
ENV USE_BROTLI=1
|
ENV USE_BROTLI 1
|
||||||
|
|
||||||
RUN set -ex \
|
RUN set -ex \
|
||||||
&& apk add --no-cache wget git build-base bash brotli-dev cmake
|
&& apk add --no-cache wget git build-base bash brotli-dev cmake
|
||||||
@ -38,15 +38,15 @@ ENTRYPOINT ["/docker-entrypoint.sh"]
|
|||||||
#ENV AWS_SECRET_ACCESS_KEY=secret
|
#ENV AWS_SECRET_ACCESS_KEY=secret
|
||||||
#ENV AWS_REGION=us-west-2
|
#ENV AWS_REGION=us-west-2
|
||||||
#ENV AWS_ENDPOINT=http://s3-like-service:9000
|
#ENV AWS_ENDPOINT=http://s3-like-service:9000
|
||||||
ENV AWS_S3_FORCE_PATH_STYLE=true
|
ENV AWS_S3_FORCE_PATH_STYLE true
|
||||||
ENV WALG_COMPRESSION_METHOD brotli
|
ENV WALG_COMPRESSION_METHOD brotli
|
||||||
|
|
||||||
# See environment variables documentation https://github.com/wal-g/wal-g/blob/master/PostgreSQL.md#configuration
|
# See environment variables documentation https://github.com/wal-g/wal-g/blob/master/PostgreSQL.md#configuration
|
||||||
ENV PGHOST=/var/run/postgresql
|
ENV PGHOST /var/run/postgresql
|
||||||
ENV PGUSER=postgres
|
ENV PGUSER postgres
|
||||||
#ENV PGPASSWORD=secret
|
#ENV PGPASSWORD=secret
|
||||||
ENV ARCHIVE_MODE=off
|
ENV ARCHIVE_MODE off
|
||||||
ENV ARCHIVE_TIMEOUT=0
|
ENV ARCHIVE_TIMEOUT 0
|
||||||
#ENV WALG_PGP_KEY_PATH=/keys/wal-g.pub
|
#ENV WALG_PGP_KEY_PATH=/keys/wal-g.pub
|
||||||
|
|
||||||
CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]
|
CMD ["postgres", "-c", "config_file=/etc/postgresql/postgresql.conf"]
|
Loading…
x
Reference in New Issue
Block a user