Docker fixes (#1)
Go / build (push) Successful in 8s
Go / Test (push) Successful in 16s
Go / build (pull_request) Successful in 1m46s
Go / Test (pull_request) Successful in 1m47s

Reviewed-on: phoenix/textsender-api#1
This commit was merged in pull request #1.
This commit is contained in:
2026-05-29 19:11:17 -04:00
parent 9dc4336761
commit 94b80aeecc
3 changed files with 12 additions and 7 deletions
+4 -4
View File
@@ -53,7 +53,7 @@ services:
# PostgreSQL Database Service
main_db:
image: postgres:18.3-alpine # Use an official Postgres image (Alpine variant is smaller)
image: postgres:18.4-alpine # Use an official Postgres image (Alpine variant is smaller)
container_name: textsender_db # Optional: Give the container a specific name
environment:
# These MUST match the user, password, and database name in the DATABASE_URL above
@@ -62,7 +62,7 @@ services:
POSTGRES_DB: ${POSTGRES_AUTH_DB:-textsender_db}
volumes:
# Persist database data using a named volume
- postgres_data:/var/lib/postgresql/data
- postgres_data:/var/lib/postgresql
ports:
- "5432:5432"
healthcheck:
@@ -77,7 +77,7 @@ services:
restart: always # Optional: Restart policy
auth_db:
image: postgres:18.3-alpine # Use an official Postgres image (Alpine variant is smaller)
image: postgres:18.4-alpine # Use an official Postgres image (Alpine variant is smaller)
container_name: textsender_auth_db # Optional: Give the container a specific name
environment:
# These MUST match the user, password, and database name in the DATABASE_URL above
@@ -86,7 +86,7 @@ services:
POSTGRES_DB: ${POSTGRES_AUTH_DB:-textsender_auth_db}
volumes:
# Persist database data using a named volume
- postgres_data_auth:/var/lib/postgresql/data
- postgres_data_auth:/var/lib/postgresql
ports:
- "5433:5432"
healthcheck: