containers/osbuild-composer: add prometheus port parameter

This commit is contained in:
Diaa Sami 2023-06-15 14:49:30 +02:00 committed by Tomáš Hozza
parent 170feba87b
commit 962ad9e582
2 changed files with 44 additions and 2 deletions

View file

@ -31,5 +31,5 @@ COPY ./dnf-json /usr/libexec/osbuild-composer/
COPY ./pkg/jobqueue/dbjobqueue/schemas /opt/migrate/schemas
COPY --from=builder2 /opt/app-root/src/go/bin/tern /opt/migrate/
EXPOSE 8080 8700
ENTRYPOINT ["python3", "/opt/entrypoint.py", "--remote-worker-api", "--composer-api", "--shutdown-wait-period", "15"]
EXPOSE 8008 8080 8700
ENTRYPOINT ["python3", "/opt/entrypoint.py", "--remote-worker-api", "--composer-api", "--prometheus", "--shutdown-wait-period", "15"]