projects
/
arvados.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add 'run-command' generic crunch command wrapper. refs #2342
[arvados.git]
/
docker
/
api
/
production.rb.in
diff --git
a/docker/api/production.rb.in
b/docker/api/production.rb.in
index 417b915d70f75e603821e9c19b6ea5c055e5f829..967d185f47c179b60acc78be994deed8bb233c1c 100644
(file)
--- a/
docker/api/production.rb.in
+++ b/
docker/api/production.rb.in
@@
-65,6
+65,10
@@
Server::Application.configure do
config.crunch_job_wrapper = :slurm_immediate
config.crunch_job_user = 'crunch' # if false, do not set uid when running jobs
config.crunch_job_wrapper = :slurm_immediate
config.crunch_job_user = 'crunch' # if false, do not set uid when running jobs
+ # The web service must be able to create/write this file, and
+ # crunch-job must be able to stat() it.
+ config.crunch_refresh_trigger = '/tmp/crunch_refresh_trigger'
+
# config.dnsmasq_conf_dir = '/etc/dnsmasq.d'
# config.compute_node_ami = 'ami-cbca41a2'
# config.dnsmasq_conf_dir = '/etc/dnsmasq.d'
# config.compute_node_ami = 'ami-cbca41a2'
@@
-76,7
+80,7
@@
Server::Application.configure do
# config.compute_node_nameservers = ['1.2.3.4', '1.2.3.5']
require 'net/http'
config.compute_node_nameservers = [ '@@ARVADOS_DNS_SERVER@@' ]
# config.compute_node_nameservers = ['1.2.3.4', '1.2.3.5']
require 'net/http'
config.compute_node_nameservers = [ '@@ARVADOS_DNS_SERVER@@' ]
-
+ config.compute_node_domain = false
config.uuid_prefix = '@@API_HOSTNAME@@'
# Authentication stub: hard code pre-approved API tokens.
config.uuid_prefix = '@@API_HOSTNAME@@'
# Authentication stub: hard code pre-approved API tokens.