Dokemon Logo

Guides

Environments and Variables

What are Environments and Variables

If you work at a Software Company you would typically have different environments like Development, Staging, Production, etc. You develop application code which is deployed to all these environments. What typically differs between the environments is the configuration.

In Dokemon you can create these environments and then in the Variables section you can create variables and provide values for those variables for each of your environment.

When you create Nodes you can assign an environment to the node. Whenever a compose definition is deployed to that node, the variables for the assigned environment are automatically passed to the deployment.

FAQ

If I add a variable with the same name in Environment Variables and the Compose Variables which one will take precedence?

The Compose Variable will take precedence over Environment Variable.

Are the secret variables encrypted?

Yes, all variables whether secret or not are encrypted using AES-256 encryption. For more details check the Security FAQ

Previous
Compose