Updating postgresql

This commit is contained in:
2026-04-05 17:49:20 -04:00
parent 3c3de1a6ba
commit 405cc7d056
2 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-24.04 runs-on: ubuntu-24.04
services: services:
postgres: postgres:
image: postgres:18.0 image: postgres:18.3-alpine
env: env:
POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }} POSTGRES_PASSWORD: ${{ secrets.POSTGRES_PASSWORD }}
POSTGRES_USER: ${{ secrets.POSTGRES_USER }} POSTGRES_USER: ${{ secrets.POSTGRES_USER }}
+2 -3
View File
@@ -9,7 +9,6 @@ services:
container_name: icarus # Optional: Give the container a specific name container_name: icarus # Optional: Give the container a specific name
ports: ports:
# Map host port 8000 to container port 3000 (adjust as needed) # Map host port 8000 to container port 3000 (adjust as needed)
# Format: "HOST_PORT:CONTAINER_PORT"
- "8000:8000" - "8000:8000"
env_file: env_file:
- .env - .env
@@ -66,7 +65,7 @@ services:
# PostgreSQL Database Service # PostgreSQL Database Service
# --- icarus web api db --- # --- icarus web api db ---
main_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 container_name: icarus_db # Optional: Give the container a specific name
environment: environment:
# These MUST match the user, password, and database name in the DATABASE_URL above # These MUST match the user, password, and database name in the DATABASE_URL above
@@ -92,7 +91,7 @@ services:
# --- icarus web auth api db --- # --- icarus web auth api db ---
auth_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 container_name: icarus_auth_db # Optional: Give the container a specific name
environment: environment:
# These MUST match the user, password, and database name in the DATABASE_URL above # These MUST match the user, password, and database name in the DATABASE_URL above