Install statping
This commit is contained in:
24
ansible/roles/docker/files/statping/docker-compose.yml
Normal file
24
ansible/roles/docker/files/statping/docker-compose.yml
Normal file
@ -0,0 +1,24 @@
|
||||
version: '3'
|
||||
|
||||
services:
|
||||
statping:
|
||||
image: hunterlong/statping:v0.80.70
|
||||
container_name: statping
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./statping:/app
|
||||
dns: "{{ wireguard.clients.intersect.ip }}"
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.http.routers.statping.rule=Host(`stats.theorangeone.net`)"
|
||||
- "traefik.http.routers.statping.tls=true"
|
||||
- "traefik.http.routers.statping.tls.certresolver=le"
|
||||
|
||||
db:
|
||||
image: postgres:12-alpine
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./postgres:/var/lib/postgresql/data
|
||||
environment:
|
||||
- POSTGRES_PASSWORD=statping
|
||||
- POSTGRES_USER=statping
|
@ -3,8 +3,9 @@ http:
|
||||
internal-only:
|
||||
ipWhiteList:
|
||||
sourceRange:
|
||||
- "{{ wireguard.cidr }}"
|
||||
- "192.168.1.0/24"
|
||||
- "10.0.0.0/8"
|
||||
- "172.16.0.0/12"
|
||||
- "192.168.0.0/16"
|
||||
hsts:
|
||||
redirectScheme:
|
||||
scheme: https
|
||||
|
Reference in New Issue
Block a user