This GitHub Organization has been created to organize and share my web portfolio and relevant applications using a microservice architecture with Docker Swarm.
This architecture is designed to accept requests through an Nginx reverse proxy that routes all requests through a shared Docker Swarm network. The reverse proxy utilizes TLS certificates for all domains from an internal service using a private network used by the service and the API Gateway.For application maintainability, the architecture is equipped with an integrated instance of Portainer.
- Microservice architecture using Docker Swarm
- Secure communication with TLS certificates
- Centralized management with Portainer
- Scalable and maintainable setup
- Docker
- Docker Swarm
-
Navigate to you projects directory
$ cd /your/project/directory
-
Download setup script
curl -L -o setup.sh https://raw.githubusercontent.com/jonepl-portfolio/.github/main/shared-files/setup.sh
-
Run setup script
. setup.sh
- Build the mock server image
$ make build-server
- Start the mock service
$ make start-server
- Access endpoints
$ curl https://localhost
- destroy mock server
$ make destroy-server
- Access the web portfolio at
https://localhost.com
- Access Portainer at
https://portainer.localhost.com
- APIs are accessible via subdomains (e.g.,
https://api.localhost.com
)
For questions or support, please contact plj.coding@gmail.com.