A simple chat applicatio built using django, django-chennels, redis and postgresDB
- Docker-desktop or [Docker-engine + docker-compose-cli]
- Internet Connection
- Text Editor
DEBUG=False
SECRET_KEY="<Django Secret key>"
Generate Secret Key from here.
visit https://www.cryptool.org/en/cto/openssl and Run Command
openssl rand -bas64 32
docker compose up --build
ondevelopment environment run the build command and this command simultaneously on diffrent terminal
docker compose watch
Requirement | Tool |
---|---|
Protocol SERVER | daphne |
REVERSE_PROXY | nginx |
TUNNLING | ngrok |
database | postgres |
In Memory Database | redis |
- alpine
- postgres
- redis
- nginx
- ngrok ** configuere ngrok in ngrok.yml. follow docs
## ngrok.yml
version: "2"
authtoken: <YOUR NGROK AUTH TOKEN>
tunnels:
httpbin:
proto: http
addr: web:8000
domain: <YOUR STATIC DOMAIN>