Skip to content

Commit

Permalink
Update docker-compose.yml.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbub committed Nov 11, 2022
1 parent 2e55dc1 commit 217fbac
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Build with Go 1.19.
* Use alpine:3.15 as a base Docker image.
* Update dependencies.
* Update docker-compose.yml.

## 0.13.0

Expand Down
6 changes: 3 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: "3.7"

services:
postgres:
image: "postgres:12.4-alpine"
image: "postgres:14-alpine"
restart: always
ports:
- "5432:5432"
Expand All @@ -11,7 +11,7 @@ services:
POSTGRES_PASSWORD: "postgres"

pgbouncer:
image: "bitnami/pgbouncer:1.16.0"
image: "bitnami/pgbouncer:1.17.0"
restart: always
environment:
POSTGRESQL_HOST: "postgres"
Expand All @@ -29,7 +29,7 @@ services:
ports:
- "9127:9127"
environment:
DATABASE_URL: "postgres://postgres:postgres@pgbouncer:6432/pgbouncer?sslmode=disable&binary_parameters=yes"
DATABASE_URL: "postgres://postgres:postgres@pgbouncer:6432/pgbouncer?sslmode=disable"
DEFAULT_LABELS: "instance=pg1 env=dev"
depends_on:
- pgbouncer

0 comments on commit 217fbac

Please sign in to comment.