Dependency name change (#33)
schedtxt_api Build / Rustfmt (push) Successful in 40s
schedtxt_api Build / Check (push) Successful in 1m21s
schedtxt_api Build / Test Suite (push) Successful in 2m50s
schedtxt_api Build / Clippy (push) Successful in 2m51s
schedtxt_api Build / build (push) Successful in 3m49s

Reviewed-on: #33
This commit was merged in pull request #33.
This commit is contained in:
2026-07-13 18:06:17 -04:00
parent 57709ab87d
commit 89b347b3f6
24 changed files with 285 additions and 304 deletions
+16 -16
View File
@@ -6,7 +6,7 @@ services:
build:
context: .
ssh: ["default"]
container_name: textsender_api
container_name: schedtxt_api
ports:
- "9081:9081"
env_file:
@@ -15,13 +15,13 @@ services:
main_db:
condition: service_healthy
networks:
- textsender_api-network
- schedtxt_api-network
restart: unless-stopped
# --- Auth API ---
auth_api:
build:
context: ../textsender_auth
context: ../schedtxt_auth
ssh: ["default"]
dockerfile: Dockerfile
container_name: auth_api
@@ -29,12 +29,12 @@ services:
ports:
- "9080:9080"
env_file:
- ../textsender_auth/.env
- ../schedtxt_auth/.env
depends_on:
auth_db:
condition: service_healthy
networks:
- textsender_api-network
- schedtxt_api-network
# --- catapult service ---
catapult:
@@ -52,18 +52,18 @@ services:
- auth_api
- auth_db
networks:
- textsender_api-network
- schedtxt_api-network
# PostgreSQL Database Service
main_db:
image: postgres:18.4-alpine
container_name: textsender_api_db
container_name: schedtxt_api_db
environment:
# These MUST match the user, password, and database name in the DATABASE_URL above
POSTGRES_USER: ${DB_MAIN_USER:-textsender_api}
POSTGRES_USER: ${DB_MAIN_USER:-schedtxt_api}
POSTGRES_PASSWORD: ${DB_MAIN_PASSWORD:-password}
POSTGRES_DB: ${DB_MAIN_NAME:-textsender_api_db}
POSTGRES_DB: ${DB_MAIN_NAME:-schedtxt_api_db}
volumes:
- postgres_data:/var/lib/postgresql
ports:
@@ -77,17 +77,17 @@ services:
start_period: 10s
restart: always
networks:
- textsender_api-network
- schedtxt_api-network
# --- textsender_api web auth api db ---
# --- schedtxt_api web auth api db ---
auth_db:
image: postgres:18.4-alpine
container_name: textsender_api_auth_db
container_name: schedtxt_api_auth_db
environment:
# These MUST match the user, password, and database name in the DATABASE_URL above
POSTGRES_USER: ${DB_AUTH_USER:-textsender_auth}
POSTGRES_USER: ${DB_AUTH_USER:-schedtxt_auth}
POSTGRES_PASSWORD: ${DB_AUTH_PASSWORD:-password}
POSTGRES_DB: ${DB_AUTH_NAME:-textsender_auth_db}
POSTGRES_DB: ${DB_AUTH_NAME:-schedtxt_auth_db}
volumes:
# Persist database data using a named volume
- postgres_data_auth:/var/lib/postgresql
@@ -102,7 +102,7 @@ services:
start_period: 10s
restart: always
networks:
- textsender_api-network
- schedtxt_api-network
volumes:
postgres_data:
@@ -111,5 +111,5 @@ volumes:
driver: local
networks:
textsender_api-network:
schedtxt_api-network:
driver: bridge