Kira CORS Anywhere is a project designed to set up a CORS Anywhere server with SSL from Let's Encrypt. It leverages GitHub Actions for deployment and Ansible for server configuration and management.
- Automated deployment on pull requests and specific branches.
- Secure SSL configuration using Let's Encrypt.
- Easy setup and configuration with Ansible and Terraform.
A Hetzner Cloud account. GitHub account for deploying the workflow. Ansible and Terraform installed for local setup and testing. GitHub Workflow: Hetzner Deploy on PR This GitHub Action workflow is triggered on pull requests to the master branch and pushes to feature/* and bugfix/* branches. It includes steps for setting up Python, Ansible, and Terraform, and concludes with deploying the configuration on Hetzner Cloud.
- Checking out the repository.
- Setting up Python and Ansible.
- Initializing and applying Terraform configuration.
- Retrieving the IP address of the VM.
- Running the Ansible playbook cors-anywhere-playbook.yml.
HCLOUD_TOKEN: Authentication token for Hetzner Cloud. ANSIBLE_SSH_PRIVATE_KEY: SSH private key for Ansible. Ansible Playbook: Set up CORS Anywhere Server with SSL The Ansible playbook cors-anywhere-playbook.yml is used for setting up the CORS Anywhere server with SSL from Let's Encrypt on a specified server.
- Updating and upgrading apt packages.
- Installing Node.js, NPM, nginx, and necessary packages.
- Adding the Certbot repository and installing Certbot.
- Obtaining an SSL certificate from Let's Encrypt.
- Cloning the CORS Anywhere repository and installing dependencies.
- Creating and enabling the Nginx configuration for CORS Anywhere.
- Starting the CORS Anywhere server.
- Installation
[TODO]
[TODO]
[TODO]