From 405cc7d05661dc81fa01931e48f544bf4eda7806 Mon Sep 17 00:00:00 2001 From: kdeng00 Date: Sun, 5 Apr 2026 17:49:20 -0400 Subject: [PATCH] Updating postgresql --- .github/workflows/workflow.yml | 2 +- docker-compose.yaml | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index be24de4..eca5b9d 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-24.04 services: postgres: - image: postgres:18.0 + image: postgres:18.3-alpine env: POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} POSTGRES_USER: ${{ secrets.POSTGRES_USER }} diff --git a/docker-compose.yaml b/docker-compose.yaml index 49433c8..5e66da7 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -9,7 +9,6 @@ services: container_name: icarus # Optional: Give the container a specific name ports: # Map host port 8000 to container port 3000 (adjust as needed) - # Format: "HOST_PORT:CONTAINER_PORT" - "8000:8000" env_file: - .env @@ -66,7 +65,7 @@ services: # PostgreSQL Database Service # --- icarus web api db --- main_db: - image: postgres:18.0-alpine # Use an official Postgres image (Alpine variant is smaller) + image: postgres:18.3-alpine # Use an official Postgres image (Alpine variant is smaller) container_name: icarus_db # Optional: Give the container a specific name environment: # These MUST match the user, password, and database name in the DATABASE_URL above @@ -92,7 +91,7 @@ services: # --- icarus web auth api db --- auth_db: - image: postgres:18.0-alpine # Use an official Postgres image (Alpine variant is smaller) + image: postgres:18.3-alpine # Use an official Postgres image (Alpine variant is smaller) container_name: icarus_auth_db # Optional: Give the container a specific name environment: # These MUST match the user, password, and database name in the DATABASE_URL above