Remove statping
It's buggy as all hell, super slow, and doesn't really get used for monitoring
This commit is contained in:
parent
5079599b9d
commit
07b0650618
5 changed files with 0 additions and 53 deletions
|
@ -48,7 +48,6 @@
|
|||
- hosts: walker
|
||||
roles:
|
||||
- contessa
|
||||
- statping
|
||||
- upload
|
||||
- website
|
||||
- duplicati
|
||||
|
|
|
@ -1,23 +0,0 @@
|
|||
version: "2.3"
|
||||
|
||||
services:
|
||||
statping:
|
||||
image: statping/statping:latest
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./statping:/app
|
||||
labels:
|
||||
- traefik.enable=true
|
||||
- traefik.http.routers.statping.rule=Host(`stats.theorangeone.net`)
|
||||
- traefik.http.routers.statping.tls.certresolver=le
|
||||
depends_on:
|
||||
- db
|
||||
|
||||
db:
|
||||
image: postgres:12-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=statping
|
||||
- POSTGRES_USER=statping
|
|
@ -1,4 +0,0 @@
|
|||
- name: restart statping
|
||||
shell:
|
||||
chdir: /opt/statping
|
||||
cmd: "{{ docker_update_command }}"
|
|
@ -1,17 +0,0 @@
|
|||
- name: Create install directory
|
||||
file:
|
||||
path: /opt/statping
|
||||
state: directory
|
||||
owner: "{{ docker_user.name }}"
|
||||
mode: "{{ docker_compose_directory_mask }}"
|
||||
become: true
|
||||
|
||||
- name: Install compose file
|
||||
template:
|
||||
src: files/docker-compose.yml
|
||||
dest: /opt/statping/docker-compose.yml
|
||||
mode: "{{ docker_compose_file_mask }}"
|
||||
owner: "{{ docker_user.name }}"
|
||||
validate: /usr/bin/docker-compose -f %s config
|
||||
notify: restart statping
|
||||
become: true
|
|
@ -10,14 +10,6 @@ resource "cloudflare_record" "theorangeonenet_git" {
|
|||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "theorangeonenet_stats" {
|
||||
zone_id = cloudflare_zone.theorangeonenet.id
|
||||
name = "stats"
|
||||
value = var.walker_ip
|
||||
type = "A"
|
||||
ttl = 1
|
||||
}
|
||||
|
||||
resource "cloudflare_record" "theorangeonenet_whoami" {
|
||||
zone_id = cloudflare_zone.theorangeonenet.id
|
||||
name = "whoami"
|
||||
|
|
Loading…
Reference in a new issue