containers: worker client base url protocol

The base url for the osbuild-worker container was
missing the `https` protocol in the docker-compose file.
This commit adds this to prevent the worker from exiting
This commit is contained in:
Gianluca Zuccarelli 2021-09-22 19:38:12 +02:00 committed by Sanne Raymaekers
parent 977dfbfed3
commit fccdf1219c

View file

@ -19,7 +19,7 @@ services:
context: ../../osbuild-composer
dockerfile: ./distribution/Dockerfile-worker
# override the entrypoint to specify composer hostname and port
entrypoint: [ "/usr/libexec/osbuild-composer/osbuild-worker", "composer:8700" ]
entrypoint: [ "/usr/libexec/osbuild-composer/osbuild-worker", "https://composer:8700" ]
volumes:
- ${STATE_DIR}/x509/ca-crt.pem:/etc/osbuild-composer/ca-crt.pem:z
- ${STATE_DIR}/x509/worker-crt.pem:/etc/osbuild-composer/worker-crt.pem:z