https://github.com/tmathews/dcontrol
A simple way to deploy your application on a remote server.
https://github.com/tmathews/dcontrol
deployment devops
Last synced: 5 months ago
JSON representation
A simple way to deploy your application on a remote server.
- Host: GitHub
- URL: https://github.com/tmathews/dcontrol
- Owner: tmathews
- License: mit
- Archived: true
- Created: 2019-05-31T21:03:56.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2022-08-13T18:13:56.000Z (almost 4 years ago)
- Last Synced: 2024-06-21T01:42:00.416Z (about 2 years ago)
- Topics: deployment, devops
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 0
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Deployment Controller
Deployment Controller is a small and simple utility that transfers data from one computer to another. It was
created to make it easier for my teammates to update and restart processes on our servers.
You can use Before/After commands to run custom scripts to stop/start processes for targets.
## Goals
* Be fast, easy, and most of all secure
* Forget about passwords, use keys!
* Avoid complexities of the cloud
* Be flexible & cross platform
## Configuration
A TOML file is used for configuration. Place it somewhere such as `/etc/deployctl/conf.toml`
```
AuthorizedKeys = "authorized_keys" # See example below
BackupDirectory = "tmp/backups"
[[Targets]]
Name = "test"
Authorized = ["*"]
Filename = "bin/thing"
Before = "dobefore.sh"
After = "doafter.sh"
```
The authorized keys is a file of base64 encoded public keys, via the `generate` command, and their names. Use one line
per key & user.
```
MIICCgKCAgEAo+GmAsm41j0ZN14HLiNdS6DBlJY...kOs+UILwFJ0ggDSafG3i/6cCAwEAAQ== user
```