Skip to content
This repository has been archived by the owner on Nov 6, 2024. It is now read-only.

Commit

Permalink
Update lantern-cli, fix pg_hba file for pgbouncer
Browse files Browse the repository at this point in the history
  • Loading branch information
var77 committed Mar 14, 2024
1 parent fcae5c0 commit 8509b69
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/submit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
type: string
description: "Lantern Suite version to tag"
required: true
default: "7"
default: "8"
IMAGE_NAME:
type: string
description: "Container image name to tag"
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ services:
postgresql:
build: ./
ports:
- "5433:5432"
- "5432:5432"
- "6432:6432"
volumes:
- "lantern-suite-data:/var/lib/postgresql/data"
Expand All @@ -17,7 +17,7 @@ services:
timeout: 5s
retries: 5
http_server:
image: lanterndata/lantern-cli:0.1.4-cpu
image: lanterndata/lantern-cli:0.1.9-cpu
ports:
- "8080:8080"
volumes:
Expand Down
2 changes: 1 addition & 1 deletion docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ pg_setup_hba_conf() {
printf '# warning trust is enabled for all connections\n'
printf '# see https://www.postgresql.org/docs/12/auth-trust.html\n'
fi
printf 'host all all all %s\n' "$POSTGRES_HOST_AUTH_METHOD"
printf 'host all all 0.0.0.0/0 %s\n' "$POSTGRES_HOST_AUTH_METHOD"
} >> "$PGDATA/pg_hba.conf"
}

Expand Down
1 change: 0 additions & 1 deletion scripts/configure-pgbouncer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ pool_mode = session
ignore_startup_parameters = extra_float_digits
max_client_conn = 2000
default_pool_size = 10
reserve_pool_timeout = 3
server_lifetime = 300
server_idle_timeout = 120
server_connect_timeout = 5
Expand Down

0 comments on commit 8509b69

Please sign in to comment.