Fix issue with crash loops

Docker Compose starts the services with the executables as PID 1, which has special signal handling. Run the executables through tini for proper signal handling.
This commit is contained in:
Corey 2025-05-04 19:35:59 -04:00
parent 0617211e22
commit af90b02feb
Signed by: coco
GPG Key ID: 051138DA6AEE3E60
3 changed files with 3 additions and 1 deletions

View File

@ -13,6 +13,7 @@ RUN --mount=type=cache,target=/var/cache/apk,sharing=locked \
mariadb-connector-c \
openssl \
python3 \
tini \
tzdata \
zeromq \
zlib

View File

@ -19,6 +19,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
libzmq5 \
mariadb-client \
python3 \
tini \
tzdata \
zlib1g

View File

@ -11,4 +11,4 @@ export XI_NETWORK_SQL_PASSWORD
export XI_NETWORK_SQL_LOGIN
export XI_NETWORK_SQL_DATABASE
exec "$@"
exec /usr/bin/tini -- "$@"