Files
Docker-Chevereto/docs/SETUP.md
Rodolfo Berrios 49b1f0910e ns doc
2022-11-06 10:17:47 -03:00

967 B

Setup

  • Clone the repository
git clone https://github.com/chevereto/docker.git

Namespace

💡 To use namespace pass the NAMESPACE=<namespace> option. Default namespace is chevereto.

Using namespaces is recommended for multi-host setup as rather than passing all the command options, you define a file which will load all these variables.

Creating a namespace

Run make namespace for automatic create a namespace. For example, to create the "nasa" namespace:

make namespace NAMESPACE=nasa HOSTNAME=photos.nasa.gov

This will create ./namespace/nasa with the minimum namespaced scoped variables required:

HOSTNAME=photos.nasa.govm
ENCRYPTION_KEY=22AkowLRYAjrgCspcwsphjWybzZEIw4rBKhzKLk/50g=

💡 The ENCRYPTION_KEY is automatic generated if not provided.

Custom application

Put the contents of your custom Chevereto based application in the /chevereto folder before building the image.