SMS Gateway app for himosoft
235
This repository contains a docker-compose.yml configuration for running the SMS Gateway application in a Docker container. It uses the image smsgateway-app and exposes the application on port 8000.
mysql database config
The docker-compose.yml file defines the following service:
himelranaswe/sms-gateway:1.0.0himelranaswe/sms-gateway8000 to the host machine (adjust if your app uses a different port).DEBUG: Set to "False" for production environment.SECRET_KEY: A secret key used by Django. Replace with your own secure key.ALLOWED_HOSTS: Hosts that are allowed to access the Django app. Add your domain or IP here.DB_NAME: Name of the database.DB_USER: Database username.DB_PASSWORD: Database password.DB_HOST: IP address or hostname of the database server.DB_PORT: Port number for the database.DJANGO_SUPERUSER_PASSWORD: Password for the Django superuser.unless-stopped (Container will restart unless explicitly stopped).If this docker-compose.yml is part of a larger project, clone the repository first:
services:
smsgate:
image: himelranaswe/sms-gateway:1.0.0
container_name: sms-gateway
ports:
- "8000:8000" # Adjust if your app uses a different port
environment:
DEBUG: "False"
SECRET_KEY: ""
ALLOWED_HOSTS: "localhost,127.0.0.1"
DB_NAME: "smsgate"
DB_USER: "smsgate"
DB_PASSWORD: "xxxxxxx"
DB_HOST: "127.0.0.1"
DB_PORT: "3306"
DJANGO_SUPERUSER_PASSWORD: "StrongPassword"
restart: unless-stopped
Username: himosoft Password: Your provided password in env: DJANGO_SUPERUSER_PASSWORD
Content type
Image
Digest
sha256:788aa8115…
Size
187 MB
Last updated
over 1 year ago
docker pull himelranaswe/sms-gateway:1.1.0