File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,9 @@ RUN groupadd --gid $APP_GID $APP_GROUP && \
4444 --uid $APP_UID \
4545 $APP_USER
4646
47+ # Don't buffer stdout and stderr as it breaks realtime logging
48+ ENV PYTHONUNBUFFERED=1
49+
4750USER $APP_UID
4851ENTRYPOINT ["tini" , "--" ]
4952CMD ["os_capacity" ]
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Or just run via docker or similar:::
4646 docker run -d --name os_capacity \
4747 --mount type=bind,source=/etc/kolla/os-capacity/,target=/etc/openstack \
4848 --env OS_CLOUD=openstack --env OS_CLIENT_CONFIG_FILE=/etc/openstack/clouds.yaml \
49- -p 9000:9000 ghcr.io/stackhpc/os-capacity:e08ecb8
49+ -p 9000:9000 ghcr.io/stackhpc/os-capacity:master
5050 curl localhost:9000
5151
5252
You can’t perform that action at this time.
0 commit comments