* Sidekiq service was missing from the production docker compose file. Added it.
This commit is contained in:
parent
55b001435b
commit
4d5e7b4adf
1 changed files with 13 additions and 2 deletions
|
@ -11,6 +11,7 @@ services:
|
||||||
RAILS_ENV: 'production'
|
RAILS_ENV: 'production'
|
||||||
RAILS_SERVE_STATIC_FILES: 'true'
|
RAILS_SERVE_STATIC_FILES: 'true'
|
||||||
image: chatwoot:latest
|
image: chatwoot:latest
|
||||||
|
env_file: .env ## Change this file for customized env variables
|
||||||
|
|
||||||
rails:
|
rails:
|
||||||
<<: *base
|
<<: *base
|
||||||
|
@ -20,12 +21,22 @@ services:
|
||||||
- redis
|
- redis
|
||||||
ports:
|
ports:
|
||||||
- 3000:3000
|
- 3000:3000
|
||||||
env_file: .env ## Change this file for customized env variables
|
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV=production
|
- NODE_ENV=production
|
||||||
- RAILS_ENV=production
|
- RAILS_ENV=production
|
||||||
entrypoint: docker/entrypoints/rails.sh
|
entrypoint: docker/entrypoints/rails.sh
|
||||||
command: ["bundle", "exec", "rails", "s", "-p", "3000", "-b", "0.0.0.0"]
|
command: ['bundle', 'exec', 'rails', 's', '-p', '3000', '-b', '0.0.0.0']
|
||||||
|
|
||||||
|
sidekiq:
|
||||||
|
<<: *base
|
||||||
|
image: chatwoot:latest
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
|
- redis
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=production
|
||||||
|
- RAILS_ENV=production
|
||||||
|
command: ['bundle', 'exec', 'sidekiq', '-C', 'config/sidekiq.yml']
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
image: postgres:11.6
|
image: postgres:11.6
|
||||||
|
|
Loading…
Reference in a new issue