Skip to content

Deploying Chatwoot Rails, Chatwoot Sidekiq as separate services #9645

Closed Answered by H-Hp
shubhenducw asked this question in Self hosted
Discussion options

You must be logged in to vote

Yes, it is possible to deploy Rails and Sidekiq as separate services using two different Dockerfiles, and leverage PostgreSQL and Redis as add-on services provided by a cloud provider.

Here's a general overview of the steps you can follow:

  1. Create a Dockerfile for the Rails application:

    • Set up the base image (e.g., ruby:3.0.0)
    • Install system dependencies
    • Copy the Rails application code
    • Install Ruby gems
    • Set the environment variables
    • Expose the necessary port (e.g., 3000)
    • Define the command to start the Rails server
  2. Create a Dockerfile for the Sidekiq service:

    • Set up the base image (e.g., ruby:3.0.0)
    • Install system dependencies
    • Copy the Rails application code
    • Install Ruby gems
    • Set th…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by sojan-official
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants