All Projects → valentin2105 → deployer

valentin2105 / deployer

Licence: other
a Go docker-compose multi-stages deployer.

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to deployer

Deploy-machine-learning-model
Dockerize and deploy machine learning model as REST API using Flask
Stars: ✭ 61 (+154.17%)
Mutual labels:  deployment
evolution
Evolution process of The Falco Project
Stars: ✭ 37 (+54.17%)
Mutual labels:  deployment
deployadactyl
Make deployment downtime extinct
Stars: ✭ 81 (+237.5%)
Mutual labels:  deployment
build-plugin-template
Template repository to create new Netlify Build plugins.
Stars: ✭ 26 (+8.33%)
Mutual labels:  deployment
deployer-php-action
Deploy PHP projects using Deployer from Github Actions
Stars: ✭ 57 (+137.5%)
Mutual labels:  deployment
batou
batou is a universal, fractal deployment utility using Python.
Stars: ✭ 37 (+54.17%)
Mutual labels:  deployment
mini-qml
Minimal Qt deployment for Linux, Windows, macOS and WebAssembly.
Stars: ✭ 44 (+83.33%)
Mutual labels:  deployment
useful-playbooks
🚚 Useful Ansible playbooks for easily deploy your website or webapp to absolutely fresh remote virtual server and automation many processes. Only 3 minutes from the playbook run to complete setup server and start it.
Stars: ✭ 52 (+116.67%)
Mutual labels:  deployment
gcloud-deploy-tutorial
How to continuously deploy a Full Stack React +Node.js +MySql App to Google Cloud Compute Engine
Stars: ✭ 19 (-20.83%)
Mutual labels:  deployment
random-dose-of-knowledge
Using the latest Software Engineering practices to create a modern and simple app.
Stars: ✭ 26 (+8.33%)
Mutual labels:  deployment
gaffer-tools
Essential tools and utilities for Gaffer; including GUI, local accumulo cluster, python api
Stars: ✭ 43 (+79.17%)
Mutual labels:  deployment
terraform-module-icp-deploy
This Terraform module can be used to deploy IBM Cloud Private on any supported infrastructure vendor. Tested on Ubuntu 16.04 and RHEL 7 on SoftLayer, VMware, AWS and Azure.
Stars: ✭ 13 (-45.83%)
Mutual labels:  deployment
kuberay
A toolkit to run Ray applications on Kubernetes
Stars: ✭ 146 (+508.33%)
Mutual labels:  deployment
wimpy.deploy
Ansible role to automate immutable infrastructure scheduling one docker container on one EC2 instance
Stars: ✭ 21 (-12.5%)
Mutual labels:  deployment
server-instant-start
Spin up a fully configured Ubuntu/Debian-based web server in under 10 minutes with Nginx (w/ HTTPS), PHP FPM, Postfix, OpenDKIM, MySQL/MariaDB, PostgreSQL, and more. Deploy your web application too.
Stars: ✭ 17 (-29.17%)
Mutual labels:  deployment
WOA-Deployer
WOA Deployer
Stars: ✭ 77 (+220.83%)
Mutual labels:  deployment
Cloud-PAW-Management
Simplify PAW and SPA for the masses, unify the MS Internal, and public PAW specs, and expedite deployment to ~5min or less.
Stars: ✭ 45 (+87.5%)
Mutual labels:  deployment
buffalo-heroku
Archived use github.com/gobuffalo/buffalo-heroku
Stars: ✭ 16 (-33.33%)
Mutual labels:  deployment
gitpack
Git-based package manager written in POSIX shell
Stars: ✭ 72 (+200%)
Mutual labels:  deployment
configurator
Synchronize and Version Control ConfigMaps & Secrets across Deployment Rollouts.
Stars: ✭ 68 (+183.33%)
Mutual labels:  deployment

deployer

Build Status Go Report Card Releases

Description

a Go docker-compose multi-stages deployer.

Use case example here.

Build

To build it, use go get and gopm for dependencies :

$ go get -d github.com/valentin2105/deployer
$ go get -u github.com/gpmgo/gopm
$ cd $GOPATH/src/github.com/valentin2105/deployer && $GOPATH/bin/gopm get 
$ cd $GOPATH/src/github.com/valentin2105/deployer && $GOPATH/bin/gopm get
$ go build && ./deployer -h

Example

First, you need a config.json file :

{
   “config”:
 {
     “WpImage”: “wordpress:latest”,
     “DBImage”: “mysql:latest”,
     “NginxImage”: “nginx:latest”
 },
   “dev”:
 {
     “Tag”: “dev”,
     “Vhost”: “dev.example.com”,
     "DBPassword": "AnyGoodPassword",
     "DBName": "mydevsite",
     "ExpositionPort": "8001:80"
 },
   “prod”:
 {
     “Tag”: “integration”,
     “Vhost”: “integration.example.com”,
     "DBPassword": "AnyBetterPassword",
     "DBName": "myprodsite",
     "IPv6Network": "ff00:c210::/64",
     "IPv6": "ff00:c210::121"
 }
}

Then, you can create your compose/dev.tmpl.yml file :

version: '2'
services:
  wordpress:
    image: {{.config_WpImage}}
    ports:
      - {{.dev_ExpositionPort}}
    volumes:
      - /var/www/html
    environment:
      WORDPRESS_DB_HOST: db
      WORDPRESS_DB_NAME: {{.dev_DBName}}
      WORDPRESS_DB_USER: root
      WORDPRESS_DB_PASSWORD: {{.dev_DBPassword}}
    depends_on:
      - db
    links:
      - db

  db:
    image: {{.config_DBImage}}
    volumes:
      - /var/lib/mysql
    environment:
      MYSQL_DATABASE: {{.dev_DBName}}
      MYSQL_ROOT_PASSWORD: {{.dev_DBPassword}}

Finally, you can deploy your dev environement :

deployer add dev

Usage

NAME:
   deployer

USAGE:
   deployer [global options] command [command options] [arguments...]

VERSION:
   0.1.5

AUTHOR:
   Valentin Ouvrard

COMMANDS:
     deploy
     delete
     list
     help, h  Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help
   --version, -v  print the version

Contribution

  1. Fork (https://github.com/valentin2105/deployer/fork)
  2. Create a feature branch
  3. Commit your changes
  4. Rebase your local changes against the master branch
  5. Run test suite with the go test ./... command and confirm that it passes
  6. Run gofmt -s
  7. Create a new Pull Request

Author

Valentin Ouvrard

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].