Quickstart SMSGate Server deployment
masterYou can deploy the SMSGate Server using Docker, Docker Compose, or by building from source.
Docker Run
To run the server as a single container, map port 3000 and mount your configuration file:
Docker Compose
For a full stack deployment including the backend, worker, and MariaDB, use the provided Compose file:
Local Development
If you are developing locally with Go, use the following Makefile commands:
make run: Starts the server viago run ./cmd/sms-gateway/main.go.make air: Starts the server with hot-reloading (setsTZ=UTCandDEBUG=1).make db-upgrade: Applies database migrations.
# Docker Run
docker run -p 3000:3000 \
-v ./configs/config.yml:/app/config.yml \
ghcr.io/android-sms-gateway/server:latest
# Docker Compose
docker compose -f deployments/docker-compose/docker-compose.yml up --build
# Local Development
make run
make air
make db-upgrade