upgrade postgres

This commit is contained in:
2026-06-07 16:50:14 +02:00
parent e9d7f63ff3
commit 09eae69041
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -6,7 +6,7 @@ A self-hosted RSS reader: a Rust/actix-web + Diesel/PostgreSQL backend with a Vu
- **Backend**: Rust, actix-web, Diesel ORM, PostgreSQL, JWT auth
- **Frontend**: Vue 3, Vite, axios
- **Database**: PostgreSQL 15
- **Database**: PostgreSQL 18
---
@@ -126,7 +126,7 @@ docker compose up --build -d
This builds three images and starts them on a shared network:
- **`postgres`** — PostgreSQL 15, data persisted in the `postgres_data` volume, reachable on `localhost:5432`
- **`postgres`** — PostgreSQL 18, data persisted in the `postgres_data` volume, reachable on `localhost:5432`
- **`backend`** — multi-stage build (compiles the Rust binary in a `rust:slim` builder, runs it in a slim `debian` runtime image); runs embedded Diesel migrations automatically on startup; listens on `0.0.0.0:8001`
- **`frontend`** — multi-stage build (compiles the Vue app with `node:20-alpine`, serves the static bundle with `nginx:alpine`); listens on `0.0.0.0:8080` and proxies `/api/` to the `backend` service over Docker's internal network
+2 -2
View File
@@ -1,7 +1,7 @@
services:
postgres:
container_name: "rss-postgres"
image: "postgres:15"
image: "postgres:18"
ports:
- "5432:5432"
environment:
@@ -9,7 +9,7 @@ services:
- "POSTGRES_DB=rss"
- "POSTGRES_PASSWORD=${POSTGRES_PASSWORD}"
volumes:
- postgres_data:/var/lib/postgresql/data
- postgres_data:/var/lib/postgresql
backend:
container_name: "rss-backend"