百科.dev
全部条目在线工具AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
F

fig2coreos

> 编程语言
开源

将 fig.yml 转换为 CoreOS 格式的 systemd 配置文件

174 stars0 点赞2 次浏览
访问官网GitHub

工具介绍

将 fig.yml 转换为 CoreOS 格式的 systemd 配置文件

NOTE

This repo is no longer being maintained. Users are welcome to fork it, but we make no warranty of its functionality.

fig2coreos

Convert fig.yml to CoreOS formatted systemd configuration files

Install

$ sudo gem install fig2coreos
$ fig2coreos
Usage: fig2coreos [options] APP_NAME FIG_YAML OUTPUT_DIRECTORY
	-t, --type TYPE                  Output type: fleet (default) or vagrant (generate a Vagrantfile)
	-h, --help                       Display this screen

Usage

To convert any fig.yml into a set of CoreOS systemd configuration files, just point the command to your fig.yml file and a directory to put your CoreOS files in:

$ fig2coreos app-name fig.yml coreos-dir
$ cd coreos-dir
$ fleetctl start *

To see how to setup fleetctl and CoreOS, here is an end-to-end tutorial: https://labs.ctl.io/building-your-first-app-on-coreos/

Use with Vagrant

If you select vagrant output type, fig2coreos will assume you are running this locally with vagrant and VirtualBox installed, so it will create a Vagrantfile which you can run vagrant up in and have a CoreOS running locally with the equivalent of your fig.yml running in it.

$ cd coreos-dir
$ vagrant up

The fig2coreos command auto-generates etcd discovery registration and fleet integration as well, so you can inspect your app easily.

$ vagrant ssh
$ fleetctl list-units

Issues· 6 开放

查看全部 Issues在 GitHub 打开

暂无开放 Issues,或尚未同步最近议题。

> 标签

Ruby

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月18日
分类编程语言
定价开源

> 相关工具

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言