Skip to content

Instantly share code, notes, and snippets.

@appcypher
Last active November 9, 2024 08:50
Show Gist options
  • Save appcypher/bb2607158748c6989208aa8aa757576d to your computer and use it in GitHub Desktop.
Save appcypher/bb2607158748c6989208aa8aa757576d to your computer and use it in GitHub Desktop.
Monocore Files

How monocore structurs files, configs it stores:

graph TD
    A[~/.monocore] --> B[monoimage/]
    B --> C[repo/]
    C --> D["[repo-name]__[tag].cid"]
    B --> E[layer/]

    A --> F[oci/]
    F --> G[repo/]
    G --> H["[repo-name]__[tag]/"]
    H --> I[config.json]
    H --> J[manifest.json]
    H --> K[index.json]
    F --> L[layer/]
    L --> M["[hash]"]

    A --> N[vms/]
    N --> O["[repo-name]__[tag]/"]
    O --> P[service.toml]
    O --> Q["[repo-name]__[tag].cid"]
    O --> R[rootfs/]

    A --> S[run/]
    S --> T["[service-name]__[supervisor-pid].json"]

    A --> U[log/]
    U --> V["[service-name].stderr.log"]
    U --> W["[service-name].stdout.log"]
Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment