feat(service): add goatcounter template (#8029)
Co-authored-by: ShadowArcanist <162910371+ShadowArcanist@users.noreply.github.com> Co-authored-by: peaklabs-dev <122374094+peaklabs-dev@users.noreply.github.com>
This commit is contained in:
parent
a1213300dc
commit
0cab2d4eaa
2 changed files with 20 additions and 0 deletions
1
svgs/goatcounter.svg
Normal file
1
svgs/goatcounter.svg
Normal file
|
|
@ -0,0 +1 @@
|
|||
<?xml version="1.0" encoding="UTF-8" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg width="100%" height="100%" viewBox="0 0 417 429" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;"><rect id="Artboard4" x="0.586" y="0" width="415.356" height="428.505" style="fill:none;"/><clipPath id="_clip1"><rect x="0.586" y="0" width="415.356" height="428.505"/></clipPath><g clip-path="url(#_clip1)"><path d="M25.399,235.075l118.517,-135.285c0,0 -124.734,-57.004 -120.995,-58.98c182.412,-96.381 370.769,214.033 370.769,214.033l-24.839,65.501c0,0 -169.954,-0.509 -192.464,-75.727" style="fill:none;stroke:#9a15a4;stroke-width:44.5px;"/><path d="M179.11,406.252c-0.044,-36.273 38.389,-117.225 38.389,-117.225" style="fill:none;stroke:#9a15a4;stroke-width:44.5px;"/></g></svg>
|
||||
|
After Width: | Height: | Size: 1 KiB |
19
templates/compose/goatcounter.yaml
Normal file
19
templates/compose/goatcounter.yaml
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# documentation: https://www.goatcounter.com/help
|
||||
# slogan: Lightweight web analytics platform.
|
||||
# category: analytics
|
||||
# tags: analytics, insights, privacy
|
||||
# logo: svgs/goatcounter.svg
|
||||
# port: 8080
|
||||
|
||||
services:
|
||||
goatcounter:
|
||||
image: arp242/goatcounter:2.7
|
||||
environment:
|
||||
- SERVICE_URL_GOATCOUNTER_8080
|
||||
volumes:
|
||||
- goatcounter-data:/home/goatcounter/goatcounter-data
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "wget -qO- http://127.0.0.1:8080/status >/dev/null 2>&1 || exit 1"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 10
|
||||
Loading…
Reference in a new issue