Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nlewo/nomadix


https://github.com/nlewo/nomadix

Last synced: 12 days ago
JSON representation

Awesome Lists containing this project

README

        

# Nomadix

## Getting started

To run the VM:

```
nix run github:nlewo/nomadix#
```

To login, type `root` and an empty password.

To terminate the VM, hit `C-a c` and type `quit`.

From another terminal, run Nomad jobs:

```
export NOMAD_ADDR=http://127.0.0.1:34646
nomad run jobs/helloworld.hcl
nomad run jobs/traefik.hcl
```

Then, SSH to the VM and curl treafik:

```
ssh [email protected] -p 30022
[root@nixos:~]# curl -L http://helloworld.nomad:8901
hello world
```

## Using Vault

export VAULT_ADDR=http://127.0.0.1:38200
export VAULT_TOKEN=root
vault status