Add Django backend, Next.js frontend, and deploy templates

This commit is contained in:
ogrechko committed 2026-08-27 15:38:31 +00:00
1 parent fc0c991335
commit e9cd22d36f
93 files changed
+7840 -1

No files matched your search

+47
View File
@@ -0,0 +1,47 @@
name: kkpab-site-old
services:
db:
image: postgres:16-alpine
environment:
POSTGRES_DB: kkpab
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
restart: unless-stopped
volumes:
- postgres_data:/var/lib/postgresql/data
ports:
- "5433:5432"
backend:
build:
context: ./backend
dockerfile: Dockerfile
restart: unless-stopped
env_file:
- ./backend/.env
volumes:
- ./backend:/app
ports:
- "7788:8000"
depends_on:
- db
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
restart: unless-stopped
env_file:
- ./frontend/.env.local
volumes:
- ./frontend:/app
- /app/node_modules
- /app/.next
ports:
- "3000:3000"
depends_on:
- backend
volumes:
postgres_data: