The goal of Optic is to check if configurations on different cloud providers match.
1.2K
This repository contains our 'Optic' checker. The goal of Optic is to check if configurations on different cloud providers match. For example; we host our SpamExperts spamfilters on OpenProvider, but our domain names are registered with Trans-IP. This can lead to configuration mismatches in where you've registered a spamfilter for a domain, but the DNS entries don't point to the spamfilter. Or, maybe you've deleted your spamfilter but forgot to change the DNS entires for the domain. This image is here to check those mismatches, and inform you via Slack.
While Optic is capable of plug'n'play different types of Cloud providers and logging services (by extending the abstract classes and re-building the image), this current version only implements the following features:
novinem/optic.docker run --rm novinem/optic -v ...
docker compose up---
version: '3'
services:
optic_main:
image: novinem/optic:latest
container_name: optic_main
volumes:
- ./config:/usr/src/config
restart: unless-stopped
# |||||||||||||||||||||||||||||||||||||
# |
# | Configuration
# |
# |||||||||||||||||||||||||||||||||||||
continuous: false
continuous_delay_seconds: 86400
continuous_completion_message: true
# You can use multiple loggers at once.
# The different values for 'log_level' are: debug, info, warning, error, fatal
loggers:
- type: slack
log_level: info
type_meta:
slack_webhook_url: https://hooks.slack.com/services/....
checkers:
- description: TransIP/Openprovider SpamExperts Mismatch Checker
excluded_domains: []
registrars:
- registrar: transip
disciplines:
- domain
meta:
username: <username>
private_keyfile: <private_key_filename_in_config_folder>
- registrar: openprovider
disciplines:
- spamexperts
meta:
username: <username>
password: <password>
- description: Another TransIP/Openprovider SpamExperts Mismatch Checker
excluded_domains:
- domain1.com
- domain2.com
registrars:
- registrar: transip
disciplines:
- domain
meta:
username: <username>
private_keyfile: <private_key_filename_in_config_folder>
- registrar: openprovider
disciplines:
- spamexperts
meta:
username: <username>
password: <password>
Content type
Image
Digest
sha256:8f3ae953d…
Size
134 MB
Last updated
12 months ago
docker pull novinem/optic