8000 GitHub - arfath29/Yii2-Application
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

arfath29/Yii2-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Yii2 Docker Swarm Deployment

This project demonstrates deploying a Yii2 PHP application using Docker Swarm, NGINX reverse proxy, with CI/CD via GitHub Actions and infrastructure automation using Ansible.

Prerequisites

  • AWS EC2 instance (Ubuntu 20.04 LTS)
  • Docker Hub account
  • GitHub repository

Setup Instructions

  1. Clone this repository
  2. Configure your AWS EC2 instance
  3. Set up GitHub Secrets:
    • DOCKER_HUB_USERNAME
    • DOCKER_HUB_TOKEN
    • SSH_PRIVATE_KEY
    • SERVER_IP
  4. Run the Ansible playbook:
    ansible-playbook -i inventory.ini playbook.yml

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0