As a chosen deployment scenario can be to run this service, and maybe only locally for educative reasons, via docker-compose and dokku, certain preparations have to be made. These include, but not only:
[x] reading configuration from environment variables (custom_environment_variables.js)
[x] development (local.js) and production (deployment.js)
[x] creating a database admin user, if nonexistent (docker-entrypoint.sh > npm prestart hook)
[x] streamlining of nomenclature
[ ] documentation for Dokku, Docker and Docker Compose
As a chosen deployment scenario can be to run this service, and maybe only locally for educative reasons, via
docker-compose
anddokku
, certain preparations have to be made. These include, but not only:custom_environment_variables.js
)local.js
) and production (deployment.js
)docker-entrypoint.sh
> npm prestart hook)