docker-compose build
docker-compose up
The API will then be available at http://127.0.0.1:8000.
docker-compose run app sh -c "celery -A app worker -l INFO"
docker-compose run app sh -c "celery -A app beat -l INFO"
docker-compose run --rm app sh -c "python manage.py load_initial_books"
docker-compose run --rm app sh -c "python manage.py generate_initial_super_user"
docker-compose run app sh -c "django-admin startproject app ."
docker-compose run app sh -c "python manage.py startapp core"
docker-compose run --rm app sh -c "python manage.py startapp user"
docker-compose run --rm app sh -c "python manage.py startapp book"
docker-compose run --rm app sh -c "python manage.py createsuperuser"
docker-compose run app sh -c "python manage.py makemigrations"