DCP: Move pool location to code_ocean.yml

This commit is contained in:
Sebastian Serth
2021-10-31 01:00:59 +02:00
parent 7bb2ef8588
commit 6209e25ee2
4 changed files with 14 additions and 17 deletions

View File

@ -49,8 +49,8 @@ default: &default
# The authorization token for connections to the runner management (Poseidon only)
# If TLS support is not enabled, this token is transmitted in clear text!
token: SECRET
# The maximum time in seconds a runner may idle at the runner management before
# it is removed. Each interaction with the runner resets this time (Poseidon only)
# The maximum time in seconds a runner may idle at the runner management before
# it is removed. Each begin of an interaction with the runner resets this time
unused_runner_expiration_time: 180

View File

@ -3,7 +3,6 @@ default: &default
connection_timeout: 3
pool:
active: false
location: http://localhost:7100
ports: !ruby/range 4500..4600
development:
@ -12,7 +11,6 @@ development:
ws_host: ws://127.0.0.1:2376 #url to connect rails server to docker host
workspace_root: <%= Rails.root.join('tmp', 'files', Rails.env) %>
pool:
location: http://localhost:7100
active: true
refill:
async: false
@ -26,7 +24,6 @@ production:
host: unix:///var/run/docker.sock
pool:
active: true
location: http://localhost:3000
refill:
async: false
batch_size: 8
@ -40,7 +37,6 @@ staging:
host: unix:///var/run/docker.sock
pool:
active: true
location: http://localhost:3000
refill:
async: false
batch_size: 8

View File

@ -3,7 +3,6 @@ default: &default
connection_timeout: 3
pool:
active: false
location: http://localhost:7100
ports: !ruby/range 4500..4600
development:
@ -13,7 +12,6 @@ development:
workspace_root: <%= Rails.root.join('tmp', 'files', Rails.env) %>
pool:
active: true
location: http://localhost:7100
refill:
async: false
batch_size: 8
@ -26,7 +24,6 @@ production:
host: unix:///var/run/docker.sock
pool:
active: true
location: http://localhost:7100
refill:
async: false
batch_size: 8
@ -40,7 +37,6 @@ staging:
host: unix:///var/run/docker.sock
pool:
active: true
location: http://localhost:7100
refill:
async: false
batch_size: 8