Laconic
Step 1: Clone the Repository
git clone https://github.com/cerc-io/stack-orchestrator.git
cd stack-orchestratorStep 2: Build the Project
go build -o stack-orchestratorStep 3: Run the Binary
./stack-orchestrator3. Configuration
Example config.yaml
config.yamlversion: "1.0"
cluster:
name: "example-cluster"
nodes:
- address: "192.168.1.100"
- address: "192.168.1.101"
services:
- name: "web-service"
image: "nginx:latest"
replicas: 3
ports:
- 80:8080
- name: "api-service"
image: "my-api:latest"
replicas: 2
environment:
- "ENV=production"
- "DEBUG=false"4. Usage
Starting the Orchestrator
Deploy Services
Scaling Services
Listing Services
Logs
5. Example Code
Example Deployment Code
Running the Code
Last updated