Docker-based tool to run services.
The aim of this is not to apply the best standards or be super performant but rather a simple solution for git-push deployment of containers on own servers.
Each project is represented as a "compote jar" - a dedicated directory that holds configuration and git source code, optionally cached libraries, data to be persisted, etc.
You define your own scripts inside the project, which do all the necessary work before a release docker image can be built and the container run. These scripts are run as the deployer user.
GNU/Linux, bash. Developed on Ubuntu server 22.04.
This tool expects that you access the server as a non-root user with password-less sudo provided.
System-wide installation with the following gems required. Developed with 3.0 version.
sudo apt install ruby
sudo gem install colorize tty-prompt dotenv
ssh to the server and download compote:
sudo git clone https://github.com/doooby/compote.git /opt/compote
As the deployer user:
/opt/compote/bin/user_install.rb
# log off and on again
# now you can run compote using alias
compote ls