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

Update postiz.yaml #4354

Open
wants to merge 3 commits into
base: next
Choose a base branch
from
Open

Conversation

dr-diffie
Copy link

Proposed Improvements to Postiz Template

I'd like to propose several improvements to the current Postiz template that enhance security, reliability, and configuration flexibility:

The improved template provides a more production-ready setup while maintaining compatibility with Coolify's requirements. It follows best practices for Docker deployments and provides better security out of the box.

Changes

Security Enhancements

  • Added Redis ACL configuration with proper authentication
  • Implemented secure health checks with authentication
  • Enhanced PostgreSQL security configurations

Reliability Improvements

  • Added memory limits and resource management for Redis
  • Implemented proper data persistence configurations
  • Added tmpfs for temporary files
  • More comprehensive health check configurations with proper retry/timeout strategies
  • Better dependency management with health conditions

Configuration Flexibility

  • Support for all environment variables from Postiz documentation
  • Added Cloudflare R2 integration support
  • Logical grouping of environment variables
  • Default values for critical settings
  • Better volume management with explicit drivers

### Proposed Improvements to Postiz Template

I'd like to propose several improvements to the current Postiz template that enhance security, reliability, and configuration flexibility:

#### Security Enhancements
- Added Redis ACL configuration with proper authentication
- Implemented secure healthchecks with authentication
- Enhanced PostgreSQL security configurations

#### Reliability Improvements
- Added memory limits and resource management for Redis
- Implemented proper data persistence configurations
- Added tmpfs for temporary files
- More comprehensive healthcheck configurations with proper retry/timeout strategies
- Better dependency management with health conditions

#### Configuration Flexibility
- Support for all environment variables from Postiz documentation
- Added Cloudflare R2 integration support
- Logical grouping of environment variables
- Default values for critical settings
- Better volume management with explicit drivers

The improved template provides a more production-ready setup while maintaining compatibility with Coolify's requirements. It follows best practices for Docker deployments and provides better security out of the box.
@dr-diffie
Copy link
Author

@peaklabs-dev

templates/compose/postiz.yaml Outdated Show resolved Hide resolved
templates/compose/postiz.yaml Outdated Show resolved Hide resolved
templates/compose/postiz.yaml Outdated Show resolved Hide resolved
templates/compose/postiz.yaml Outdated Show resolved Hide resolved
templates/compose/postiz.yaml Outdated Show resolved Hide resolved
@peaklabs-dev peaklabs-dev added the ⚙️ Service Issues requesting or PRs adding/fixing service templates. label Nov 21, 2024
@peaklabs-dev peaklabs-dev self-assigned this Nov 21, 2024
@peaklabs-dev peaklabs-dev added 💤 Waiting for changes PRs awaiting changes from the author. 💤 Waiting for feedback Issues awaiting a response from the author. and removed 💤 Waiting for feedback Issues awaiting a response from the author. labels Nov 21, 2024
@dr-diffie
Copy link
Author

Done ✅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
⚙️ Service Issues requesting or PRs adding/fixing service templates. 💤 Waiting for changes PRs awaiting changes from the author.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants