cacti (1.1)

Published 2024-03-19 23:58:52 +01:00 by David

Installation

docker pull git.sypnas.net/david/cacti:1.1
sha256:1552e638aef8d519d3c2b7478ee18c188e32a5170a1442fcb787edcc36d7d433

Image Layers

ADD file:ee4045ddeff02a410410f4aefb678a275844d7030c2b9e338956024f80e99b8f in /
CMD ["/bin/bash"]
LABEL org.opencontainers.image.authors=Sean Cline <smcline06@gmail.com>
EXPOSE map[80/tcp:{}]
EXPOSE map[443/tcp:{}]
EXPOSE map[2055/udp:{}]
EXPOSE map[2055/tcp:{}]
EXPOSE map[2056/udp:{}]
EXPOSE map[2056/tcp:{}]
ENV DB_NAME=cacti DB_USER=cactiuser DB_PASS=cactipassword DB_HOST=localhost DB_PORT=3306 RDB_NAME=cacti RDB_USER=cactiuser RDB_PASS=cactipassword RDB_HOST=localhost RDB_PORT=3306 CACTI_URL_PATH=cacti BACKUP_RETENTION=7 BACKUP_TIME=0 REMOTE_POLLER=0 INITIALIZE_DB=0 TZ=UTC PHP_MEMORY_LIMIT=800M PHP_MAX_EXECUTION_TIME=60 PHP_SNMP=1
CMD ["/start.sh"]
COPY start.sh /start.sh # buildkit
ADD http://files.cacti.net/spine/cacti-spine-latest.tar.gz /cacti_install/cacti-spine-latest.tar.gz # buildkit
ADD https://files.cacti.net/cacti/linux/cacti-latest.tar.gz /cacti_install/cacti-latest.tar.gz # buildkit
COPY configs /template_configs # buildkit
COPY configs/crontab /etc/crontab # buildkit
COPY plugins /cacti_install/plugins # buildkit
COPY templates /templates # buildkit
COPY settings /settings # buildkit
COPY upgrade.sh /upgrade.sh # buildkit
COPY restore.sh /restore.sh # buildkit
COPY backup.sh /backup.sh # buildkit
RUN /bin/sh -c chmod +x /upgrade.sh && chmod +x /restore.sh && chmod +x /backup.sh && chmod u+s /bin/ping && chmod g+s /bin/ping && mkdir /backups && mkdir /cacti && mkdir /spine && yum update -y && yum install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && yum install -y dnf-plugins-core && yum install -y net-tools && yum config-manager --set-enabled crb && yum install -y php php-xml php-session php-sockets php-ldap php-gd php-json php-mysqlnd php-gmp php-mbstring php-posix php-snmp php-intl php-common php-cli php-devel php-pear php-pdo && yum install -y rrdtool net-snmp net-snmp-utils cronie mariadb autoconf bison openssl openldap mod_ssl net-snmp-libs automake gcc gzip libtool make net-snmp-devel dos2unix m4 which openssl-devel mariadb-devel sendmail curl wget help2man perl-libwww-perl && yum clean all && rm -rf /var/cache/yum/* && chmod 0644 /etc/crontab && echo "ServerName localhost" > /etc/httpd/conf.d/fqdn.conf && /usr/libexec/httpd-ssl-gencerts # buildkit

Labels

Key Value
org.opencontainers.image.authors Sean Cline <smcline06@gmail.com>
Details
Container
2024-03-19 23:58:52 +01:00
1
OCI / Docker
linux/amd64
Sean Cline <smcline06@gmail.com>
364 MiB
Versions (2) View all
1.1 2024-03-19
1.0 2024-03-19