Files
codeocean/config/docker.yml.erb.example

32 lines
821 B
Plaintext

#Why erb?
default: &default
# Specify the Docker host below, once for container management and once for output streaming.
# Always use the TCP socket (instead of a unix socket) and an IPv4 address for best compatibility.
host: tcp://127.0.0.1:2376
ws_host: ws://127.0.0.1:2376 #url to connect rails server to docker host
# Be sure to change the default ACL when modifying the workspace_root: `setfacl -Rdm user:<username>:rwx <workspace_root>`
workspace_root: <%= Rails.root.join('tmp', 'files', Rails.env) %>
connection_timeout: 3
pool:
active: true
refill:
async: false
batch_size: 8
interval: 15
timeout: 60
ports: !ruby/range 4500..4600
development:
<<: *default
production:
<<: *default
staging:
<<: *default
test:
<<: *default
pool:
active: false