From 040288428d76e4bac54ed4689ea2ce1236ff9165 Mon Sep 17 00:00:00 2001 From: phoenix Date: Sun, 2 Nov 2025 16:22:46 -0500 Subject: [PATCH] tsk-64: Postgresql version bump 18 --- .gitea/workflows/workflow.yml | 2 +- Dockerfile | 2 +- docker-compose.yaml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitea/workflows/workflow.yml b/.gitea/workflows/workflow.yml index 27ef069..8777407 100644 --- a/.gitea/workflows/workflow.yml +++ b/.gitea/workflows/workflow.yml @@ -36,7 +36,7 @@ jobs: # --- Add database service definition --- services: postgres: - image: postgres:17.5 + image: postgres:18.0 env: # Use secrets for DB init, with fallbacks for flexibility POSTGRES_USER: ${{ secrets.DB_TEST_USER || 'testuser' }} diff --git a/Dockerfile b/Dockerfile index 2dbf311..17a411f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ COPY --from=builder /usr/src/app/.env . COPY --from=builder /usr/src/app/migrations ./migrations # Expose the port your Axum app listens on (e.g., 3000 or 8000) -EXPOSE 3000 +EXPOSE 8001 # Set the command to run your application # Ensure this matches the binary name copied above diff --git a/docker-compose.yaml b/docker-compose.yaml index 80d8100..b5e1e81 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -19,7 +19,7 @@ services: # PostgreSQL Database Service auth_db: - image: postgres:17.5-alpine # Use an official Postgres image (Alpine variant is smaller) + image: postgres:18.0-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