A Containerizer for Python web-apps.
Templates are rendered in 4 types of contexts:
-
Project context: The context consists of one object called 'project', which contains the project-specific parameters.
-
Domain context: The context consists of one object called 'domain', which contains the domain-specfific parameters.
-
Service context: The context consists of:
- 'service' object containing the service's parameters,
- 'domain' object, containing the encapsulating domain parameters
- 'project' object containing the encapsulating project's parameters
-
Application (App) context: The context consists of:
- 'app' object containing the application's parameters,
- 'domain' object, containing the encapsulating domain parameters
- 'project' object containing the encapsulating project's parameters
- Project Root
|
+- domains
| +- <domain.name>
| |
| +- services
| | +- <service_name>
| | |
| | +- serviceConfig.json
| |
| +- apps
| | +- <app_name>
| | |
| | +- appConfig.json
| +- certs: SSL/TLS Certificates for Nginx
|
+- projectConfig.json
+- networksConfig.json
- templates
+- djangoapp: Django app templates
|
+- project: Project config file template
|
+- services: nginx config templates
- Project Root
+- apps
| +- <app_name>
+- services
|
+- docker-compose.yml