mirror of
https://github.com/hyperdxio/hyperdx
synced 2026-04-21 21:37:41 +00:00
33 lines
780 B
Docker
33 lines
780 B
Docker
## base #############################################################################################
|
|
FROM timberio/vector:0.39.0-alpine AS base
|
|
|
|
RUN mkdir -p /var/lib/vector
|
|
VOLUME ["/var/lib/vector"]
|
|
|
|
WORKDIR /app
|
|
|
|
COPY ./*.toml ./
|
|
|
|
|
|
## dev #############################################################################################
|
|
FROM base as dev
|
|
|
|
EXPOSE 8002 8686
|
|
|
|
ENTRYPOINT ["vector", \
|
|
"-c", "sources.toml", \
|
|
"-c", "core.toml", \
|
|
"-c", "http-sinks.toml", \
|
|
"--require-healthy", "true"]
|
|
|
|
|
|
## prod #############################################################################################
|
|
FROM base as prod
|
|
|
|
EXPOSE 8002 8686
|
|
|
|
ENTRYPOINT ["vector", \
|
|
"-c", "sources.toml", \
|
|
"-c", "core.toml", \
|
|
"-c", "http-sinks.toml", \
|
|
"--require-healthy", "true"]
|