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

Add production environment configuration #437

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Freika
Copy link
Owner

@Freika Freika commented Nov 25, 2024

No description provided.

@alexbarcelo
Copy link
Contributor

Maybe I am asking a dumb question, and if that's the case just ignore this. But, would a production environment require to invoke the rake assets:precompile at some point?

I tried playing around with that idea (on a kubernetes homelab) and was toying with init containers to invoke this precompile to ensure that all assets are available before the service is started. I later realized that this assets could even be included inside the docker image (this assets:precompile could be called as part of the Dockerfile and image creation if I'm not mistaken).

Am I completely missing the point? Or this is already done in another place I haven't looked? I am not very familiar with the stack here, and I assume that what I learnt in other web stacks also applies here, but maybe I am making a fool of myself.

Thanks for everything and if you want beta testers to play around and test production configurations or other deployments, just say so :)

start_period: 30s
timeout: 10s
dawarich_db:
image: postgres:14.2-alpine
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a reason why not use: postgres:14-alpine?

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.

3 participants