Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Update PostgreSQL image version to 18 for non CE (#5958)

Cenk Kücük6fef0ad671ad
diff --git a/.github/workflows/elixir.yml b/.github/workflows/elixir.yml
index 4146343bd5..21276f26e4 100644
--- a/.github/workflows/elixir.yml
+++ b/.github/workflows/elixir.yml
@@ -21,7 +21,7 @@ jobs:
strategy:
matrix:
mix_env: ["test"]
- postgres_image: ["postgres:15"]
+ postgres_image: ["postgres:18"]
mix_test_partition: [1, 2, 3, 4, 5, 6]
include:
diff --git a/Makefile b/Makefile
index 6b9f995b4a..a178e4d959 100644
--- a/Makefile
+++ b/Makefile
@@ -44,7 +44,7 @@ postgres-client: ## Connect to postgres
docker exec -it plausible_db psql -U postgres -d plausible_dev
postgres-prod: ## Start a container with the same version of postgres as the one in prod
- docker run $(PG_FLAGS) --volume=plausible_db_prod:/var/lib/postgresql/data postgres:15
+ docker run $(PG_FLAGS) --volume=plausible_db_prod:/var/lib/postgresql/data postgres:18
postgres-stop: ## Stop and remove the postgres container
docker stop plausible_db && docker rm plausible_db