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

Merged
merged 3 commits into from
Nov 22, 2024
Merged

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 ✅

@peaklabs-dev peaklabs-dev removed the 💤 Waiting for changes PRs awaiting changes from the author. label Nov 22, 2024
@peaklabs-dev
Copy link
Member

Thanks for the PR, the Redis environment section is still missing, I will add it.

@peaklabs-dev peaklabs-dev changed the base branch from next to services November 22, 2024 21:29
@peaklabs-dev peaklabs-dev merged commit 4a691b2 into coollabsio:services Nov 22, 2024
1 check passed
@github-actions github-actions bot removed the ⚙️ Service Issues requesting or PRs adding/fixing service templates. label Nov 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants