Skip to content

HuyThanh2102/vpsfree-cz-configuration

 
 

Repository files navigation

vpsFree.cz cluster configuration

This repository contains Nix configuration of vpsFree.cz infrastructure, i.e. vpsAdminOS-powered nodes, machines and related services run in containers.

Requirements

Usage

First, setup confctl. For now, confctl and vpsfree-cz-configuration should be cloned to adjacent directories.

Clone the repositories:

git clone https://github.com/vpsfreecz/confctl
git clone https://github.com/vpsfreecz/vpsfree-cz-configuration

Change into the configuration directory and run nix-shell:

cd vpsfree-cz-configuration
nix-shell

Hosts can be built and deployed using confctl, see confctl or man confctl for more information.

Examples

# List available hosts
confctl ls

# Build all hosts
confctl build

# Build selected hosts
confctl build "cz.vpsfree/nodes/stg/*"

# Deploy all hosts
confctl deploy

# Try to deploy configuration of selected hosts
confctl deploy "cz.vpsfree/nodes/stg/*" dry-activate

About

vpsFree.cz cluster configuration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Nix 97.5%
  • Ruby 2.1%
  • Other 0.4%