529 B
529 B
With docker
- Clone the repository
- Run
docker build -t ipserv:latest .
- Run
docker run -it --name ipserv --restart unless-stopped -p 8080:80/tcp -e "GUNICORN_CMD_ARGS='-w $(nproc)'" -d ipserv:latest
- Access
http://localhost:8080/
in your browser - Profit!?
Without docker
- Clone the repository
- install
gunicorn
,uvicorn
,fastapi
,aiohttp
- Run
gunicorn -w $(nproc) -k uvicorn.workers.UvicornWorker -b 127.0.0.1:8080 ipserv:app
- Access
http://localhost:8080/
in your browser - Profit!?