A Django real-time chat app that lets users communicate via global, group and private chats.
424
A production-ready Docker image for Pinggo, a real-time social platform built with Django, ASGI (Daphne), PostgreSQL, and Redis.
This image is designed to run as part of a multi-container setup using Docker Compose, supporting scalable web applications with WebSocket capabilities.
Typical deployment setup:
Client β Nginx β Pinggo (Daphne ASGI)
β
PostgreSQL (DB)
β
Redis (Channels)
Base Image: python:3.12-slim
Server: Daphne (ASGI)
Port: 8000
Entrypoint:
The container expects the following environment variables:
SECRET_KEYDEBUGALLOWED_HOSTSDB_NAMEDB_USERDB_PASSWORDDB_HOSTDB_PORTPOSTGRES_DBPOSTGRES_USERPOSTGRES_PASSWORDREDIS_HOSTREDIS_PORTExample:
version: "3.9"
services:
web:
image: dubeysumit/pinggo:latest
env_file:
- .env
depends_on:
- db
- redis
db:
image: postgres:15
env_file:
- .env
volumes:
- postgres_data:/var/lib/postgresql/data
redis:
image: redis:7
volumes:
postgres_data:
.env files or platform environment variablesDEBUG=False in productionALLOWED_HOSTS properly| Mode | Server |
|---|---|
| Development | Django runserver |
| Production | Daphne (ASGI) |
This project is licensed under the MIT License.
For a full production setup (Nginx, volumes, etc.), see the GitHub repository.
https://github.com/Sumit0ubey/Pinggo
Developed and maintained by Sumit Dubey.
Content type
Image
Digest
sha256:88ff55c08β¦
Size
109.4 MB
Last updated
6 months ago
docker pull dubeysumit/pinggo:v.1.5