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:
parent
9b3b3d099f
commit
2dba19a77e
12 changed files with 109 additions and 127 deletions
5
scripts/deploy.sh
Executable file
5
scripts/deploy.sh
Executable 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue