Files
katenary/examples/basic
Patrice Ferlet a2bf9c005b Fix bracket
fixes #50 - the brackets are valid in JSON/YAML
2023-02-07 09:39:12 +01:00
..
2022-02-17 11:48:33 +01:00
2023-02-07 09:39:12 +01:00
2022-05-08 09:55:25 +02:00

Basic example

This is a basic example of what can do Katenary with standard docker-compose file.

In this example:

  • depends_on yield a initContainer in the webapp ddeployment to wait for database
  • so we need to declare the listened port inside database container as we don't use it with docker-compose- also, we needed to declare that DB_HOST is actually a service name using mapenv label

Take a look on chart/basic directory to see what katenary convert command has generated.