GeezerVison is showing github.com — notebook/python/rest at master · scriptum/notebook
Directory actions
More options
More optionsDirectory actions
More options
More optionsFolders and files
| Name | Name | Last commit message | Last commit date |
|---|
parent directory.. |
| | | |
| | | |
| | | |
| | | |
| | | |
|
Dockerized python REST API example
- Install docker and docker-compose:
dnf install -y docker docker-compose
- Add user into docker group:
sudo usermod -aG docker myusername
- Relogin
- Start docker service if needed:
systemctl start docker.service
Build and run container in debug mode
docker-compose up --build
curl http://localhost:5000/todos