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

Feature: Add SSL configuration and Docker Compose setup #2

Merged
merged 2 commits into from
Jun 19, 2024

Conversation

muokicaleb
Copy link
Contributor

This commit introduces the assume_ssl and force_ssl configurations to enable SSL termination on a reverse proxy or ingress in situations where Kamal deploy isn't used. The assume_ssl setting defaults to true and can be overridden by the ASSUME_SSL environment variable, while force_ssl can be enabled via the FORCE_SSL environment variable.

Additionally, this commit includes a complete Docker Compose setup for the application. It defines services for web, db (PostgreSQL), and redis, and configures environment variables and volumes for persistent storage. This setup ensures the application can be easily deployed and run locally or in a containerized environment.

This commit introduces the `assume_ssl` and `force_ssl` configurations to enable SSL termination on a reverse proxy or ingress in situations where Kamal deploy isn't used. The `assume_ssl` setting defaults to true and can be overridden by the ASSUME_SSL environment variable, while `force_ssl` can be enabled via the FORCE_SSL environment variable.

Additionally, this commit includes a complete Docker Compose setup for the application. It defines services for web, db (PostgreSQL), and redis, and configures environment variables and volumes for persistent storage. This setup ensures the application can be easily deployed and run locally or in a containerized environment.
@muokicaleb muokicaleb marked this pull request as draft June 17, 2024 09:45
@muokicaleb muokicaleb marked this pull request as ready for review June 18, 2024 14:40
Copy link
Owner

@kaka-ruto kaka-ruto left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Caleb!

@kaka-ruto kaka-ruto merged commit 19697b7 into kaka-ruto:main Jun 19, 2024
2 checks passed
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