Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancements to render the base image more suitable for production environments #62

Open
kowh-ai opened this issue May 12, 2024 · 1 comment
Assignees

Comments

@kowh-ai
Copy link
Contributor

kowh-ai commented May 12, 2024

The current Docker Compose environment serves well for both a simple setup and a more development specific purpose. However it lacks certain configurations and optimisations needed for a proper production-grade deployment.

We need to introduce changes and configurations to our Docker Compose environment to align it with production standards. This includes optimising resource allocation, securing sensitive information, ensuring high availability if possible, and incorporating best practices for monitoring and logging.

Here is the list of things to think about

  1. Use a non-root user to install all software where root is not a requirement for installation
  2. Should we have separate ckan users for installation vs running the processes?
  3. What about using a non-root user for volume mounts
  4. Can we somehow simplify by combining both the non-dev and dev configurations so only one command is needed ie: docker compose build | up
@kowh-ai
Copy link
Contributor Author

kowh-ai commented May 23, 2024

This issue is related to this work: Permission denied: '/var/lib/ckan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant