Global REST API Authentication Service
-
🐋 Containerized
-
🪄 CI/CD (Github Action)
-
⚡️ API Route Caching
-
📐 Analytics
-
Rate Limiting
-
Maintain blocklist
- Initialize Swarm on the Manager Node
docker swarm init --advertise-addr <MANAGER-IP>
- Join Worker Nodes to the Swarm
docker swarm join --token <WORKER-TOKEN> <MANAGER-IP>:2377
- Check Node Status
docker node ls
- Create a docker volume
docker volume create \
--name unauth-api_data \
--driver local \
--opt type=none \
--opt device=~/Algostract/unauth-api/.data \
--opt o=bind
- Use Docker Stack to deploy multi-container application
docker stack deploy --compose-file docker-compose.prod.yml unauth-api
- Scale service
docker service scale unauth-api_app=2
- Verify
docker service ls
docker service ps unauth-api_app
Published under the MIT license.