Skip to content

FireboltCasters/Observatory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A docker-compose reloader for git projects

About

A helper for restarting docker containers on github repo updates.

Observatory checks a given git repository for updates on a specific branch. On a new commit Observatory stops your desired docker-compose application, pulls the repository and rebuilds/restarts your docker-compose application.

Installation

Observatory uses docker-compose (docker-compose is required):

git clone https://github.com/FireboltCasters/Observator

Setup - Quick start

After the installation, you can set your variables and start using it. Here are the most important variables to be configured in the .env file

nano .env
#Client credentials https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/creating-a-personal-access-token
GIT_AUTH_USERNAME
GIT_AUTH_PERSONAL_ACCESS_TOKEN

#Repo informations
GIT_PROJECT_OWNER
GIT_PROJECT_REPO

#Full path to observing project (no relative paths)
FOLDER_PATH_TO_PROJECT

Start

simply start like every other docker-compose:

docker-compose up

Documentation

For a more detailed look into all of the features, including the constraint syntax, custom functions, plugins and more, please have a look into the wiki.

Related packages

You might also want to take a look at docker-github-reloader, which is the base for this reloader.

Contributors

The FireboltCasters

Contributors

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors