Robin Thoni d118c9d38b Removed old Dockerfile | 3 anni fa | |
---|---|---|
.env | 3 anni fa | |
.gitignore | 7 anni fa | |
README.md | 3 anni fa | |
docker-compose.yml | 3 anni fa |
Admin:zabbix
POSTGRES_PASSWORD
ALL_TZ
to the current timezoneALL_RESTART_POLICY
to unless-stopped
openssl genrsa -passout env:CA_PASSWD -aes256 -out zabbix-ca.key 4096
openssl req -x509 -new -key zabbix-ca.key -sha256 -days 36500 -out zabbix-ca.crt -passin env:CA_PASSWD -subj “/CN=zabbix-ca”
HOST=zabbix-host.domain.tld
openssl req -new -newkey rsa:4096 -nodes -keyout “${HOST}.key” -out “${HOST}.csr” -subj “/CN=${HOST}”
openssl x509 -req -CA zabbix-ca.crt -CAkey zabbix-ca.key -CAcreateserial -days 36500 -sha256 -passin env:CA_PASSWD -in “${HOST}.csr” -out “${HOST}.crt”
rm “${HOST}.csr”