Add initial implementations for forms and organization apps with serializers, factories, and admin configurations
Some checks failed
CI/CD Pipeline / Run Tests (push) Failing after 45s
CI/CD Pipeline / Code Quality Checks (push) Failing after 48s
CI/CD Pipeline / Build Docker Images (push) Has been skipped
CI/CD Pipeline / Push to Gitea Registry (push) Has been skipped
CI/CD Pipeline / Deploy to Server (push) Has been skipped

This commit is contained in:
2026-03-28 18:23:06 +01:00
parent 8ed3e1175c
commit 345b1d0cc8
201 changed files with 15097 additions and 6691 deletions

29
.env.prod.example Normal file
View File

@@ -0,0 +1,29 @@
# Docker Compose production example
DJANGO_SETTINGS_MODULE=settings.production
DEBUG=False
SECRET_KEY=CHANGE_ME_PROD_SECRET_KEY
ALLOWED_HOSTS=example.com,api.example.com
POSTGRES_HOST=CHANGE_ME_POSTGRES_HOST
POSTGRES_PORT=5432
POSTGRES_DB=state_corp
POSTGRES_USER=postgres
POSTGRES_PASSWORD=CHANGE_ME_POSTGRES_PASSWORD
POSTGRES_SSLMODE=require
REDIS_CACHE_URL=redis://CHANGE_ME_REDIS_HOST:6379/1
CELERY_BROKER_URL=redis://CHANGE_ME_REDIS_HOST:6379/0
CELERY_RESULT_BACKEND=redis://CHANGE_ME_REDIS_HOST:6379/0
PORT=8000
GUNICORN_WORKERS=3
GUNICORN_TIMEOUT=60
CELERY_LOG_LEVEL=INFO
CELERY_WORKER_CONCURRENCY=4
COLLECTSTATIC_ON_MIGRATE=1
BACKUP_ENCRYPTION_KEY=CHANGE_ME_BASE64URL_32B_KEY
BACKUP_KEY_ID=default
WEB_IMAGE=registry.example.com/state_corp-web:latest
CELERY_IMAGE=registry.example.com/state_corp-celery:latest