feat: initialize project with environment template, gitignore, and docker-compose configuration

This commit is contained in:
Your Name
2026-04-09 12:06:16 +05:30
commit 1c909a3354
3 changed files with 54 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
# DATABASE
DB_NAME=piku
DB_USER=user
DB_PASSWORD=password123
DB_HOST=localhost
DB_PORT=5432
# DJANGO
DEBUG=True
SECRET_KEY=django-secret-key
ALLOWED_HOSTS=localhost,127.0.0.1
# EMAIL
EMAIL_HOST=localhost
EMAIL_PORT=1025
# FRONTEND
VITE_API_URL=http://localhost:8000
+10
View File
@@ -0,0 +1,10 @@
# Environment variables
.env
# Frontend
node_modules/
dist/
.vite/
# IDE
.vscode/
+26
View File
@@ -0,0 +1,26 @@
services:
db:
# postgres database
image: postgres:16-alpine
container_name: piku_db
environment:
POSTGRES_DB: ${DB_NAME}
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASSWORD}
ports:
- "${DB_PORT}:5432"
volumes:
- postgres_data:/var/lib/postgresql/data
restart: always
mailpit:
# email testing
image: axllent/mailpit
container_name: piku_mail
ports:
- "8025:8025" # Web UI
- "${EMAIL_PORT}:1025" # SMTP
restart: always
volumes:
postgres_data: