Commit graph

6 commits

Author SHA1 Message Date
88098f5b25 Use Redis for the cache instead of memcached
CACHE_URL (default redis://redis:6379/1) feeds the built-in RedisCache
backend. Redis is already part of compose for Celery, so this drops
pylibmc, python-memcached and libmemcached-dev.
2026-10-06 19:55:18 +03:00
e2c6e291e2 Set integer env defaults in .env.docker to silence log noise 2026-10-06 14:31:17 +03:00
691863b78e Keep required settings strict and supply their dev values in .env.docker 2026-09-30 16:35:15 +03:00
e77a17b82f Seed richer dummy data with a fixed admin login
Each site gets a home page and four child pages, and there are twelve
dummy customers. The dummy admin password is now fixed through
DUMMY_ADMIN_PASSWORD. --purge removes all of it.
2026-09-30 15:44:43 +03:00
d6653400c6 Add optional dummy data seeding on start
The seed_dummy_data command creates one CMS page per site and a dummy
admin and customer, idempotently. --purge removes exactly what it
created. It runs on start when SEED_DUMMY_DATA=True and a failure does
not stop the web server.
2026-09-30 15:33:02 +03:00
619a20394e Add docker compose stack for test deployments
Runs postgres, redis, the web app and a celery worker. Dev defaults live
in .env.docker with an optional .env override. The entrypoint generates
and persists the Django secret key and waits for postgres; the web
service migrates and creates a Site row for every configured domain.
SQL dumps placed in db-init/ are restored on first start and are
git-ignored.
2026-09-30 14:54:38 +03:00