chore: initial snapshot of tubco people portal

This commit is contained in:
Md Bayazid Bostame
2026-03-19 10:22:20 +01:00
commit 9fe3c2ea82
81 changed files with 8698 additions and 0 deletions

59
docker-compose.yml Normal file
View File

@@ -0,0 +1,59 @@
services:
web:
build:
context: ./backend
command: sh -c "./entrypoint-web.sh"
env_file:
- .env
volumes:
- ./backend:/app
- ./backend/media:/app/media
user: "app"
ports:
- "8000:8000"
- "8010:8000"
- "8088:8000"
depends_on:
- db
- redis
- mailhog
worker:
build:
context: ./backend
command: sh -c "./entrypoint-worker.sh"
env_file:
- .env
volumes:
- ./backend:/app
- ./backend/media:/app/media
user: "app"
depends_on:
- db
- redis
- mailhog
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: ${POSTGRES_DB:-onoff}
POSTGRES_USER: ${POSTGRES_USER:-onoff}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD:-onoff}
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5432:5432"
redis:
image: redis:7-alpine
ports:
- "6379:6379"
mailhog:
image: mailhog/mailhog:v1.0.1
ports:
- "8025:8025"
- "1025:1025"
volumes:
postgres_data: