mirror of
https://git.koehn.com/docker/postgres-wal-g.git
synced 2026-11-27 09:43:20 -06:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5b3cd141cb | ||
|
|
2f6dc3a509 | ||
|
|
21c53dc4dd | ||
|
|
f2ef1c9d00 | ||
|
|
4b02d05230 | ||
|
|
2d1dea3953 | ||
|
|
7936f2a660 | ||
|
|
f884fca8d3 | ||
|
|
808d390383 | ||
|
|
888a8e06bf | ||
|
|
8e6481be9b | ||
|
|
bd622797b1 | ||
|
|
d18b5088ad | ||
|
|
c030b76a4c | ||
|
|
ed3f8308bc | ||
|
|
e5067b4257 | ||
|
|
e34430fd7e | ||
|
|
67f8f0cb65 | ||
|
|
a7020c5d4e | ||
|
|
a8028d9962 |
No files matched your search
+5
-3
@@ -3,12 +3,14 @@ stages:
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
stage: build
|
stage: build
|
||||||
|
timeout: 3h
|
||||||
image:
|
image:
|
||||||
name: gcr.io/kaniko-project/executor:v1.6.0-debug
|
name: moby/buildkit:latest
|
||||||
entrypoint: [""]
|
entrypoint: [""]
|
||||||
script:
|
script:
|
||||||
- |
|
- |
|
||||||
cat > /kaniko/.docker/config.json <<EOF
|
mkdir /root/.docker
|
||||||
|
cat > /root/.docker/config.json <<EOF
|
||||||
{
|
{
|
||||||
"auths": {
|
"auths": {
|
||||||
"https://index.docker.io/v1/": {
|
"https://index.docker.io/v1/": {
|
||||||
@@ -21,7 +23,7 @@ build:
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
- /kaniko/executor --context $CI_PROJECT_DIR --dockerfile $CI_PROJECT_DIR/Dockerfile --destination koehn/postgres-wal-g:13.4-$CI_COMMIT_TAG --build-arg BASE=13.4 --build-arg WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}')
|
- buildctl-daemonless.sh build --frontend=dockerfile.v0 --local context=$CI_PROJECT_DIR --local dockerfile=$CI_PROJECT_DIR --output type=image,name=docker.io/koehn/postgres-wal-g:14.2-$CI_COMMIT_TAG,push=true --opt build-arg:BASE=14.2 --opt build-arg:WALG_RELEASE=$(echo $CI_COMMIT_TAG | awk -F '-' '{print $1}') --opt platform=linux/amd64
|
||||||
only:
|
only:
|
||||||
- tags
|
- tags
|
||||||
|
|
||||||
@@ -1,5 +0,0 @@
|
|||||||
FROM koehn/postgres-wal-g:13.3-v1.0-2
|
|
||||||
|
|
||||||
RUN apt-get update -qq && apt-get install -qqy --no-install-recommends postgis postgresql-13-postgis-3
|
|
||||||
|
|
||||||
|
|
||||||
@@ -14,6 +14,7 @@ to your bucket
|
|||||||
* `AWS_ENDPOINT` (et al) to tell WAL-G where to archive (see
|
* `AWS_ENDPOINT` (et al) to tell WAL-G where to archive (see
|
||||||
[WAL-G documentation](https://github.com/wal-g/wal-g) for details)
|
[WAL-G documentation](https://github.com/wal-g/wal-g) for details)
|
||||||
* `WALG_S3_PREFIX` to tell WAL-G which bucket and prefix you'd like to use
|
* `WALG_S3_PREFIX` to tell WAL-G which bucket and prefix you'd like to use
|
||||||
|
* `WALG_LIBSODIUM_KEY` to encrypt the files stored in S3
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
In your `/var/lib/postgresql/data/pgsql/postgresql.conf` file, set your [archive
|
In your `/var/lib/postgresql/data/pgsql/postgresql.conf` file, set your [archive
|
||||||
@@ -44,5 +45,4 @@ If you start your recovered backup, be sure to turn `archive_mode = off` to avoi
|
|||||||
pushing additional WAL files to S3!
|
pushing additional WAL files to S3!
|
||||||
|
|
||||||
## Postgres Versions
|
## Postgres Versions
|
||||||
Currently I build for Postgres 13, but you can build for whatever version you'd like. Be advised that 9.6 is the
|
Currently I build for Postgres 14, but you can build for whatever version that wal-g supports.
|
||||||
earliest version that WAL-G supports.
|
|
||||||
Reference in new issue
Block a user