Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nlewo/nomadix
https://github.com/nlewo/nomadix
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/nlewo/nomadix
- Owner: nlewo
- Created: 2022-04-12T16:12:10.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-24T13:33:12.000Z (over 2 years ago)
- Last Synced: 2024-10-13T00:55:48.436Z (26 days ago)
- Language: Nix
- Size: 5.86 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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