This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | python | final | digest | `0c5171f` → `97e9392` | --- ### Configuration 📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box --- ## Need help? You can ask for more help in the following Slack channel: #proj-renovate-self-hosted. In that channel you can also find ADR and FAQ docs in the Resources section. <!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0Mi42NC4xIiwidXBkYXRlZEluVmVyIjoiNDIuNjQuMSIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZG9ja2VyIl19--> Signed-off-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com> Co-authored-by: renovate-sh-app[bot] <219655108+renovate-sh-app[bot]@users.noreply.github.com> Co-authored-by: ismail simsek <ismailsimsek09@gmail.com>
17 lines
499 B
Docker
17 lines
499 B
Docker
FROM python:3.13-slim-bookworm@sha256:97e9392d12279f8c180eb80f0c7c0f3dfe5650f0f2573f7ad770aea58f75ed12
|
|
|
|
ENV ZBX_API_URL=http://zabbix-web:8080
|
|
ENV ZBX_API_USER="Admin"
|
|
ENV ZBX_API_PASSWORD="zabbix"
|
|
ENV ZBX_CONFIG="zbx_export_hosts.json"
|
|
ENV ZBX_BOOTSTRAP_SCRIPT="bootstrap_config.py"
|
|
|
|
RUN pip install zabbix_utils
|
|
|
|
ADD ./bootstrap_config.py /bootstrap_config.py
|
|
ADD ${ZBX_CONFIG} /${ZBX_CONFIG}
|
|
|
|
WORKDIR /
|
|
|
|
# Run bootstrap_config.py when the container launches
|
|
CMD ["python", "/bootstrap_config.py"] |