CREATE USER custom_user PASSWORD '1qw2er3ty';
CREATE DATABASE todo OWNER custom_user;
GRANT ALL PRIVILEGES ON DATABASE todo TO custom_user;
# Create environment
python3.8 -m venv --copies app/venv
# Activate
source app/venv/bin/activate
# Make sure to use app/venv/bin/pip3.8
which pip3.8
# Install packages
pip3.8 install -r app/requirements.txt
app/todo/manage.py migrate
app/todo/manage.py collectstatic
...
docker system prune -a
docker volume ls
# Remove all volumes
docker volume rm
docker-compose up -d --build --force-recreate
docker-compose exec app ./manage.py createsuperuser