This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | python | final | digest | `37cba11` → `17bc9f1` | --- ### 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:eyJjcmVhdGVkSW5WZXIiOiI0Mi44Mi4zIiwidXBkYXRlZEluVmVyIjoiNDIuODIuMyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZG9ja2VyIl19--> 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: Jocelyn Collado-Kuri <jcolladokuri@icloud.com>
19 lines
517 B
Docker
19 lines
517 B
Docker
FROM python:3@sha256:17bc9f1d032a760546802cc4e406401eb5fe99dbcb4602c91628e73672fa749c
|
|
|
|
ENV ZBX_API_URL=http://zabbix-web
|
|
ENV ZBX_API_USER="Admin"
|
|
ENV ZBX_API_PASSWORD="zabbix"
|
|
ENV ZBX_CONFIG="zbx_export_hosts_5.xml"
|
|
ENV ZBX_BOOTSTRAP_SCRIPT="bootstrap_config.py"
|
|
|
|
RUN pip install pyzabbix
|
|
|
|
WORKDIR /
|
|
|
|
ADD ./${ZBX_CONFIG} /${ZBX_CONFIG}
|
|
ADD ./bootstrap_config.py /bootstrap_config.py
|
|
# RUN cp ./${ZBX_CONFIG} /${ZBX_CONFIG}
|
|
|
|
# Run bootstrap_config.py when the container launches
|
|
CMD ["python", "/bootstrap_config.py"]
|