Small refactor of scripts, Dockerfile, and docker-compose to support load balancing, and mutiple replicas. Various fixes related to playwright installation in container environment, static file handling, and etc.

This commit is contained in:
badblocks 2025-05-06 23:14:36 -07:00
parent 9b3b3d099f
commit 2dba19a77e
12 changed files with 109 additions and 127 deletions

5
scripts/deploy.sh Executable file
View file

@ -0,0 +1,5 @@
#!/bin/bash
django-admin makemigrations --noinput --check && django-admin migrate --noinput
django-admin clear_cache
django-admin collectstatic -c --no-input