|
|
|
|
@ -1,4 +1,3 @@
|
|
|
|
|
version: "2" |
|
|
|
|
services: |
|
|
|
|
data: |
|
|
|
|
image: busybox |
|
|
|
|
@ -73,6 +72,11 @@ services:
|
|
|
|
|
- RAILS_LOG_TO_STDOUT=true |
|
|
|
|
- PORT=80 |
|
|
|
|
- SIDEKIQ_QUEUES=-q default,2 -q mailers,1 -q active_storage_analysis,1 -q active_storage_purge,1 |
|
|
|
|
healthcheck: |
|
|
|
|
test: ["CMD", "curl", "-f", "${WORKER_HEALTHCHECK_URL}"] |
|
|
|
|
interval: 30s |
|
|
|
|
retries: 3 |
|
|
|
|
start_period: 30s |
|
|
|
|
worker_solr: |
|
|
|
|
restart: ${WEB_RESTART_MODE} |
|
|
|
|
image: tenshiamd/ruby:2.7-alpine |
|
|
|
|
@ -93,3 +97,8 @@ services:
|
|
|
|
|
- RAILS_LOG_TO_STDOUT=true |
|
|
|
|
- PORT=80 |
|
|
|
|
- SIDEKIQ_QUEUES=-q sunspot_index,2 |
|
|
|
|
healthcheck: |
|
|
|
|
test: ["CMD", "curl", "-f", "${WORKER_HEALTHCHECK_URL}"] |
|
|
|
|
interval: 30s |
|
|
|
|
retries: 3 |
|
|
|
|
start_period: 30s |
|
|
|
|
|