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

No packages published