Skip to content

Commit

Permalink
feat: Update the used version (#12)
Browse files Browse the repository at this point in the history
* feat: Update the used version
* docs: Adjust the documentation
  • Loading branch information
ZPascal authored Oct 16, 2023
1 parent 68539c3 commit b37c45d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM alpine:3.18
ARG VERSION=1.20.1
ARG VERSION=1.21.0
MAINTAINER Pascal Zimmermann <ZPascal>
LABEL application="PgBouncer" \
description="Base alpine linux container image + PgBouncer" \
version="1.20.1" \
version="1.21.0" \
lastModifiedBy="Pascal Zimmermann" \
lastModifiedOn="2023-08-09"
lastModifiedOn="2023-10-16"

ENV PG_ENV_POSTGRESQL_MAX_CLIENT_CONN 10000
ENV PG_ENV_POSTGRESQL_DEFAULT_POOL_SIZE 400
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

## Used versions
- [alpine:3.18](https://hub.docker.com/_/alpine)
- [pgBouncer 1.20.1](https://github.com/pgbouncer/pgbouncer/releases/tag/pgbouncer_1_20_1)
- [pgBouncer 1.21.0](https://github.com/pgbouncer/pgbouncer/releases/tag/pgbouncer_1_21_0)

## Supported setup parameter
| Env variable | Default value | Example value | Required |
Expand All @@ -21,7 +21,7 @@
| PG_ENV_POSTGRESQL_POOL_MODE | session | session | No |

## Functionality
The run script creates automatically the corresponding configuration, add the set the ```PG_ENV_POSTGRESQL_USER``` variable as stats_user inside the PgBouncer configuration. After the preparation step, the run script starts pgbouncer automatically and the container bound the port ```6432``` to share the PgBouncer service.
The run script creates automatically the corresponding configuration and sets the ```PG_ENV_POSTGRESQL_USER``` variable as stats_user inside the PgBouncer configuration. After the preparation step, the run script starts pgbouncer automatically and the container bound the port ```6432``` to share the PgBouncer service.


## Docker-compose example
Expand Down

0 comments on commit b37c45d

Please sign in to comment.