Skip to content

crossifyxyz/deploy-ubuntu-nginx

Repository files navigation

Project Name

This project provides scripts for setting up and updating a server environment using Docker, Nginx, Certbot, AWS CLI, and PM2.

Prerequisites

  • Ubuntu-based server
  • Docker
  • Nginx
  • Certbot
  • AWS CLI
  • PM2
  • AWS ECR repository with a Docker image

Run

  1. Clone this repository to your server.

  2. Navigate to the project directory: cd project-directory

  3. Create a .env file and populate it with the required environment variables. You can use the provided .env.example as a template.

  4. Create a .env.docker file and populate it with the environment variables specific to the Docker container. You can use the provided .env.docker.example as a template.

  5. Make the run script executable: chmod +x run.sh

  6. Run the run script: ./run.sh

Usage

  • The server environment can be started, stopped, and managed using ./run.sh

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages