Skip to content

Heurly/Heurly-OPS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heurly-OPS 🚀

Welcome to Heurly-OPS! This repository serves as the central hub for deploying Heurly on our VPS (Virtual Private Server). Let's dive into its structure and deployment process.

Structure 🏗️

The repository is organized into several folders, each representing a different stack:

  • postgres: Contains configurations for the database.
  • logs: Includes settings for Grafana monitoring.
  • main: Used for production deployment.
  • beta: Reserved for staging deployment.
  • traefik: Manages the reverse proxy and Let's Encrypt certificates.

Deployment 🚢

To deploy a stack, follow these steps:

  1. Navigate to the desired folder (e.g., logs).

    cd logs
  2. Ensure the environment file is complete by copying the example file.

    cp .env.example .env
  3. Deploy the stack using Docker Swarm and the provided docker-compose.yml.

    docker stack deploy -c docker-compose.yml logs

After deployment, verify the running services using docker stack ls.

docker stack ls

This command should display the services and containers running for each stack.

Updating a Service 🔧

To force update a service, use the following command:

docker service update --force stack-name_container

For instance, to force update the production app:

docker service update --force main_heurly

Traefik 🛡️

Information about how Traefik works will be added soon. Stay tuned!


Feel free to explore and contribute to Heurly-OPS for better operational efficiency! If you have any questions or need further assistance, please reach out. Happy deploying! 😊✨

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors