Skip to content

Directory Structure

Overview

This page describes Foundation directory struture.

Foundation directory

The Foundation directory contains your applications, data, images, certificates, etc.

With this version, the deployed folder has been moved from applications to a new folder deployments.

Before structure (version 21.09.23 and earlier):

root:/foundation/system/default/storage/foundation/default#
├─ applications/
|  ├─ deployed/
|  ├─ foundation/
|  └─ reinf/
├─ keystore/
└─ truststore/

Current structure:

root:/foundation/system/default/storage/foundation/default#
├─ applications/
|  ├─ foundation/
|  └─ reinf/
├─ deployments/
|  └─ deployed/
├─ keystore/
└─ truststore/

Applications

About applications struture:

root:/foundation/system/default/storage/foundation/default/applications#
├─ foundation/
|  ├─ authlayer/
|  ├─ certificates/
|  ├─ view/
|  └─ .../
└─ reinf/
|  ├─ amqp/
|  ├─ cache/
|  └─ core/
...

Deployments

About deployments struture:

root:/foundation/system/default/storage/foundation/default/deployments#
├─ deployed/
|  ├─ foundation-authlayer/
|  ├─ foundation-certificates/
|  ├─ foundation-view/
|  └─ .../
└─ history/
|  └─ applications/
|     ├─ foundation/
|     |  ├─ authlayer/
|     |  ├─ certificates/
|     |  ├─ view/
|     |  └─ .../
|     └─ reinf/

Deployed

All modules deployed there is a file in deployed folder.

History

Save information about module version deployed.

  1. Foundation reload a latest config deployed to new module version without suggestion.
  2. The registry deploy settings and undeploy module version is saved.

Tip

To clean all history deployments: sudo foundation clean --history