refactor: reorg ingestor config files (#64)

This commit is contained in:
Warren 2023-10-14 23:21:15 -07:00 committed by GitHub
parent 40ba7bb00f
commit 5edddc13f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 22 additions and 15 deletions

View file

@ -14,7 +14,11 @@ FROM base as dev
EXPOSE 8002 8686
ENTRYPOINT ["vector", "-c", "http-server.core.toml", "-c", "http-server.sinks.toml", "--require-healthy", "true"]
ENTRYPOINT ["vector", \
"-c", "sources.toml", \
"-c", "core.toml", \
"-c", "http-sinks.toml", \
"--require-healthy", "true"]
## prod #############################################################################################
@ -22,4 +26,8 @@ FROM base as prod
EXPOSE 8002 8686
ENTRYPOINT ["vector", "-c", "http-server.core.toml", "-c", "http-server.sinks.toml", "--require-healthy", "true"]
ENTRYPOINT ["vector", \
"-c", "sources.toml", \
"-c", "core.toml", \
"-c", "http-sinks.toml", \
"--require-healthy", "true"]

View file

@ -8,19 +8,6 @@ acknowledgements.enabled = true
[api]
enabled = true
address = "0.0.0.0:8686"
[sources.http_server]
type = "http_server"
address = "0.0.0.0:8002"
headers = ["authorization", "Content-Type", "Traceparent"]
strict_path = false
path = ""
query_parameters = [
"hdx_platform",
"hdx_token",
"sentry_key",
"sentry_version"
]
# --------------------------------------------------------------------------------

View file

@ -0,0 +1,12 @@
[sources.http_server]
type = "http_server"
address = "0.0.0.0:8002"
headers = ["authorization", "Content-Type", "Traceparent"]
strict_path = false
path = ""
query_parameters = [
"hdx_platform",
"hdx_token",
"sentry_key",
"sentry_version"
]