Clarify usage of external URLs for Docker and Runner Management
This commit is contained in:
@ -40,10 +40,10 @@ default: &default
|
|||||||
enabled: false
|
enabled: false
|
||||||
# The strategy to use. Possible values are: poseidon, docker_container_pool
|
# The strategy to use. Possible values are: poseidon, docker_container_pool
|
||||||
strategy: poseidon
|
strategy: poseidon
|
||||||
# The root URL of the runner management to use
|
# The root URL of the runner management to use (include any API prefix if required)
|
||||||
# If a hostname is specified and the target host is reachable via IPv6, the WebSocket
|
# If a hostname is specified and the target host is reachable via IPv6, the WebSocket
|
||||||
# connection might not use the IPv6-to-IPv4 fallback but rather fail unexpectedly.
|
# connection might not use the IPv6-to-IPv4 fallback but rather fail unexpectedly.
|
||||||
url: https://runners.example.org
|
url: https://runners.example.org/api/v1
|
||||||
# The root certificate authority to trust for TLS connections to the runner management (Poseidon only)
|
# The root certificate authority to trust for TLS connections to the runner management (Poseidon only)
|
||||||
ca_file: /example/certificates/ca.crt
|
ca_file: /example/certificates/ca.crt
|
||||||
# The authorization token for connections to the runner management (Poseidon only)
|
# The authorization token for connections to the runner management (Poseidon only)
|
||||||
|
@ -1,16 +1,12 @@
|
|||||||
#Why erb?
|
#Why erb?
|
||||||
default: &default
|
default: &default
|
||||||
connection_timeout: 3
|
# Specify the Docker host below, once for container management and once for output streaming.
|
||||||
pool:
|
# Always use the TCP socket (instead of a unix socket) and an IPv4 address for best compatibility.
|
||||||
active: false
|
|
||||||
ports: !ruby/range 4500..4600
|
|
||||||
|
|
||||||
development:
|
|
||||||
<<: *default
|
|
||||||
host: tcp://127.0.0.1:2376
|
host: tcp://127.0.0.1:2376
|
||||||
ws_host: ws://127.0.0.1:2376 #url to connect rails server to docker host
|
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>`
|
# 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) %>
|
workspace_root: <%= Rails.root.join('tmp', 'files', Rails.env) %>
|
||||||
|
connection_timeout: 3
|
||||||
pool:
|
pool:
|
||||||
active: true
|
active: true
|
||||||
refill:
|
refill:
|
||||||
@ -18,37 +14,18 @@ development:
|
|||||||
batch_size: 8
|
batch_size: 8
|
||||||
interval: 15
|
interval: 15
|
||||||
timeout: 60
|
timeout: 60
|
||||||
|
ports: !ruby/range 4500..4600
|
||||||
|
|
||||||
|
development:
|
||||||
|
<<: *default
|
||||||
|
|
||||||
production:
|
production:
|
||||||
<<: *default
|
<<: *default
|
||||||
host: unix:///var/run/docker.sock
|
|
||||||
pool:
|
|
||||||
active: true
|
|
||||||
refill:
|
|
||||||
async: false
|
|
||||||
batch_size: 8
|
|
||||||
interval: 15
|
|
||||||
timeout: 60
|
|
||||||
# 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) %>
|
|
||||||
ws_host: ws://localhost:4243 #url to connect rails server to docker host
|
|
||||||
|
|
||||||
staging:
|
staging:
|
||||||
<<: *default
|
<<: *default
|
||||||
host: unix:///var/run/docker.sock
|
|
||||||
pool:
|
|
||||||
active: true
|
|
||||||
refill:
|
|
||||||
async: false
|
|
||||||
batch_size: 8
|
|
||||||
interval: 15
|
|
||||||
timeout: 60
|
|
||||||
# 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) %>
|
|
||||||
ws_host: ws://localhost:4243 #url to connect rails server to docker host
|
|
||||||
|
|
||||||
test:
|
test:
|
||||||
<<: *default
|
<<: *default
|
||||||
host: tcp://127.0.0.1:2376
|
pool:
|
||||||
# Be sure to change the default ACL when modifying the workspace_root: `setfacl -Rdm user:<username>:rwx <workspace_root>`
|
active: false
|
||||||
workspace_root: <%= Rails.root.join('tmp', 'files', Rails.env) %>
|
|
||||||
|
Reference in New Issue
Block a user