build endpoints
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
MYSQL_ROOT_PASSWORD=warpengine
|
||||
|
||||
# Shared secret for the /update endpoint (X-Update-Secret header).
|
||||
# Shared secret for the /build/* endpoints (X-Update-Secret header).
|
||||
UPDATE_SECRET=example-update-secret
|
||||
|
||||
# Password of the "drop" user on the artifact drop area (SSH, port 2222).
|
||||
|
||||
@@ -3,7 +3,7 @@ Rails.application.config.to_prepare do
|
||||
c.file_container_path = ENV.fetch("FILE_CONTAINER_PATH", "/softwares")
|
||||
c.image_container_path = ENV.fetch("IMAGE_CONTAINER_PATH", "/images")
|
||||
|
||||
# Beállítatlan secret esetén a /update endpoint minden kérést elutasít.
|
||||
# Beállítatlan secret esetén a /build/* endpointok minden kérést elutasítanak.
|
||||
c.update_secret = ENV["UPDATE_SECRET"]
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user