4

GitHub - locenv/locenv: An alternative to Docker Compose but faster and use less...

 1 year ago
source link: https://github.com/locenv/locenv
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

Local Environment

This is a cross-platform tool to spinup services for development from a unified configuration file similar to Docker Compose but the services run directly on the host instead of container. Thus no virtual machine is required on macOS and Windows.

Usage

Sample configurations

# locenv-services.yml
sample-c:
  repository:
    type: git
    uri: https://github.com/locenv/sample-c.git

Start services

locenv up

Install a module

locenv mod install github:locenv/mod-autoconf

Update services to latest version

locenv pull

Script & module limitations

  • Coroutines is not supported due to it use longjmp, which causes Rust objects to leak. See here for detailed information.
  • Lua error does not handled properly until this completed. However we still recommended to use the standard Lua error to raise the error.

License


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK