Update configuration examples for seamless start
This commit is contained in:
@ -41,18 +41,18 @@ default: &default
|
||||
# When enabled, CodeOcean delegates the handling and management of (containerized) runners
|
||||
# to a dedicated runner management. Otherwise, code executions are performed locally using
|
||||
# Docker and without pre-warming support (one container per execution).
|
||||
enabled: false
|
||||
enabled: true
|
||||
# The strategy to use. Possible values are: poseidon, docker_container_pool
|
||||
strategy: poseidon
|
||||
# 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
|
||||
# connection might not use the IPv6-to-IPv4 fallback but rather fail unexpectedly.
|
||||
url: https://runners.example.org/api/v1
|
||||
url: http://127.0.0.1:7200/api/v1
|
||||
# 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)
|
||||
# If TLS support is not enabled, this token is transmitted in clear text!
|
||||
token: SECRET
|
||||
# token: SECRET
|
||||
# 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. Thus, this value should
|
||||
# be truly greater than any permitted execution time of an execution environment.
|
||||
|
@ -13,6 +13,8 @@ default: &default
|
||||
# See https://bugs.webkit.org/show_bug.cgi?id=235873
|
||||
connect_src:
|
||||
- wss://codeocean.openhpi.de
|
||||
# Enable the StackExchange API for Flowr
|
||||
# - https://api.stackexchange.com
|
||||
# Optionally: Specify a custom, non-Sentry URL for reporting CSP violations
|
||||
# report_uri: https://example.com/csp-report
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
default: &default
|
||||
adapter: postgresql
|
||||
encoding: unicode
|
||||
password: CHANGE_ME
|
||||
pool: 16
|
||||
username: postgres
|
||||
host: localhost
|
||||
# username: CHANGE_ME
|
||||
# password: CHANGE_ME
|
||||
# host: localhost
|
||||
|
||||
development:
|
||||
<<: *default
|
||||
|
@ -1,4 +1,5 @@
|
||||
#Why erb?
|
||||
# This file is only used for the deprecated DockerContainerPool (and not for Poseidon).
|
||||
|
||||
default: &default
|
||||
connection_timeout: 3
|
||||
pool:
|
||||
|
@ -1,4 +1,5 @@
|
||||
#Why erb?
|
||||
# This file is only used for the deprecated DockerContainerPool (and not for Poseidon).
|
||||
|
||||
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.
|
||||
|
Reference in New Issue
Block a user