0.0.1 • Published 4 months ago
inframate v0.0.1
AutoDeploy : a lite tool for deploy application everywhere
Introduction
Autodeploy is a tool for deploy application in docker.
Installation
npm i autodeploy
Autodeploy use pulumi to deploy application, you need to install pulumi on your machine and configure storage backend.
Usage in command line
Create local environment
autodeploy up
Destroy local environment
autodeploy down
Usage in server mode
Installation
Autodeploy can be used in server mode to deploy application on remote server. for start we need to deploy the server part of autodeploy on the remote server.
docker run -d -p 3000:3000 -v /var/run/docker.sock:/var/run/docker.sock -e SECRET_ACCESS_KEY=<YOUR_KEY> autodeploy
Usage
To deploy an application run command :
curl --post https://<REMOTE_SERVER>:3000/deploy
Configuration in your project
To configure autodeploy in your project you need to create a file named autodeploy.json
in the root of your project.
{
"name": "my-app",
"version": "1.0.0"
}
0.0.1
4 months ago