On this repo is stored my deploy and server configuration. Tasks ended:
Done
Pipeline for Jenkins is written on Jenkinsfile, Docker image guild from Dockerfile is deployment via docker-compose and all is stored on GitHub * and image is uploaded to DockerHub *
Build on Jenkins is triggered by Webhook from git hub then push is request
Aplication is acesible via port 443 throung web browser.They say HelloWorld
Container is limited by start command to 1 cpu and 512M ram
Aplication and Jenkins is accesible on public ip
Domain is registred https://slajnev.tk/
DNS is managed over CloudFlare network
Aplication is accesible over https://app.slajnev.tk/
All hosts connections over browser is set up LetsEncrypt SSL
Nginx redirect incoming request from 80 to 443(SSL)
App show host name internal docker ip
Aplication is scalable is running 2 copies of one image