You've already forked docker-ara
feat: Add JSON structured logging and fix mariadb-devel package name ✨
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
FROM almalinux:9.5-minimal
|
||||
|
||||
ARG DEV_DEPENDENCIES="gcc python3-devel postgresql-devel mariadb-devel"
|
||||
ARG DEV_DEPENDENCIES="gcc python3-devel postgresql-devel mariadb-connector-c-devel"
|
||||
|
||||
# Install only the runtime packages we need, including cronie for cron support
|
||||
# tini is used as PID 1 to reap zombie processes spawned by crond and forward
|
||||
@@ -24,6 +24,7 @@ RUN microdnf install -y ${DEV_DEPENDENCIES} \
|
||||
&& microdnf clean all
|
||||
|
||||
COPY docker/entrypoint.sh /entrypoint.sh
|
||||
COPY docker/json_logger.py /json_logger.py
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
# ---------------------------------------------------------------------------
|
||||
@@ -33,6 +34,7 @@ RUN chmod +x /entrypoint.sh
|
||||
|
||||
# Core
|
||||
ENV ARA_BASE_DIR=/opt/ara
|
||||
ENV PYTHONPATH=/
|
||||
# ENV ARA_SECRET_KEY=changeme # set a stable secret in production
|
||||
# ENV ARA_ALLOWED_HOSTS="['*']" # restrict to your hostname(s)
|
||||
# ENV ARA_TIME_ZONE=UTC # ARA display/storage timezone
|
||||
|
||||
Reference in New Issue
Block a user