Skip to content

fix(gsm-compose): route gateway traffic on Docker network - #372

Merged
Adamskiee merged 1 commit into
developfrom
bugfix/gsm-compose-networking
Aug 15, 2026
Merged

fix(gsm-compose): route gateway traffic on Docker network#372
Adamskiee merged 1 commit into
developfrom
bugfix/gsm-compose-networking

Conversation

@Adamskiee

@Adamskiee Adamskiee commented Aug 15, 2026

Copy link
Copy Markdown
Collaborator

Description

Fixes connectivity issues between the FastAPI server and the GSM module within the Docker Compose environment. The GSM gateway is now routed over the internal Docker network rather than defaulting to localhost, avoiding DNS/routing resolution issues inside containers.

Changes

  • Environment variables: Introduced GSM_GATEWAY_URL to explicitly define where the server looks for the GSM module (defaulting to http://gsm-fastapi:8001 in Compose).
  • Compose updates: Configured SAPOT_API_URL to http://api:8000 to keep callbacks on Docker's private network instead of routing through nginx.
  • Testing: Added unit tests to ensure GSM_GATEWAY_URL overrides are properly picked up by the proxy client.
  • Documentation: Updated environment-config.md and docker-setup.md with instructions and explanations regarding internal container networking.

@Adamskiee Adamskiee changed the title bugfix/gsm compose networking fix(gsm-compose): route gateway traffic on Docker network Aug 15, 2026
@Adamskiee
Adamskiee changed the base branch from main to develop August 15, 2026 12:31
@Adamskiee
Adamskiee force-pushed the bugfix/gsm-compose-networking branch from ae80eca to 930792a Compare August 15, 2026 12:34
@Adamskiee
Adamskiee merged commit a76a4a7 into develop Aug 15, 2026
10 checks passed
@Adamskiee
Adamskiee deleted the bugfix/gsm-compose-networking branch August 15, 2026 12:36
Adamskiee added a commit that referenced this pull request Aug 16, 2026
…rict environment config

This release merges the latest changes from `develop` into `main`, bringing in significant enhancements and bug fixes across the server, GSM module, and mobile components.

Key Changes:

GSM & Networking:
- GSM Emulator: Added a new virtual modem development stack for testing without physical hardware (#373).
- GSM Security & Routing: Secured SMS delivery (#362), required verified phone numbers for outgoing SMS (#375), and routed gateway traffic correctly on the Docker network (#372).

Server & Environment:
- Typed Configuration: Introduced strict typed environment configuration (#363), failing fast when GSM_SECRET is unset (#361), and replacing example secrets in configs (#366).
- API & Data Integrity: Hardened error handling logs, made role writes atomic (#377), ignored activity writes for deleted users (#374), and hardened QA route guards (#367).

Mobile:
- Connectivity: Refactored connectivity to remove the background signaling task (#364).
- EAS Debugging: Enabled the debug menu in preview builds (#360).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant