Kubernetes deployment reference link Kubernetes 入门实践
- Django、Restframework、Swagger
- Docker、docker-compose、uwsgi、mysql
docker build -t django_demo:dev ./
docker-compose up -d
- Admin account and password: admin/qwerasdf
- API doc url http://127.0.0.1:8000/api/doc/, sample as follow.
- Swagger authorize: add token in admin, then input token like
Token 1c7de930611fcc0f047a26922fea8f63f462c01b