concise names for docker containers and links

This commit is contained in:
HTWKalender Team
2024-07-16 14:54:56 -04:00
parent 3f7725e1d6
commit 3895537f4f
5 changed files with 24 additions and 8 deletions

View File

@ -37,6 +37,7 @@ default: &default
runner_management:
# When enabled, CodeOcean delegates the handling and management of (containerized) runners
# to a dedicated runner management. Otherwise, code executions are performed locally using
#<% if ENV['POSEIDON_HOST'] != '' -%>
# Docker and without pre-warming support (one container per execution).
enabled: true
# The strategy to use. Possible values are: poseidon, docker_container_pool
@ -44,7 +45,13 @@ default: &default
# 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: http://127.0.0.1:7200/api/v1
url: http://poseidon:7200/api/v1
#url: http://<%= ENV['POSEIDON_HOST'] %>/api/v1
#<% else %>
#enabled: false
#strategy: poseidon
#url: http://poseidon.example.org/
#<% end -%>
# The root certificate authority to trust for TLS connections to the runner management (Poseidon only)
# ca_file: /example/certificates/ca.crt
# The authorization token for connections to the runner management (Poseidon only)

View File

@ -3,7 +3,7 @@ default: &default
pool: 16
username: <%= ENV['POSTGRES_USER'] %>
password: <%= ENV['POSTGRES_PASSWORD'] %>
host: db
host: codeocean-db
development:
<<: *default