Commit Graph

33 Commits

Author SHA1 Message Date
Jake Howard
a25c0751fb Update Plausible
Also required updating Clickhouse, due to syntax errors in migrations. It's also nice it's alpine now, and newer
2021-04-15 18:11:44 +01:00
Jake Howard
870ac50c58 Update compose path to not be absolute
This relies on `which` to find the correct binary instead
2021-02-07 15:59:18 +00:00
Jake Howard
c5050381fc Update plausible to v1.2 2021-01-29 21:34:44 +00:00
Jake Howard
48762bcfcd Remove redundant quoting 2020-11-25 11:41:26 +00:00
Jake Howard
a35ee7c824 Change base URL to default so the tracker script still uses disguised domain 2020-11-25 11:40:54 +00:00
Jake Howard
2b291548f9 Just do plain path replacement 2020-11-25 11:38:47 +00:00
Jake Howard
a81e2793f8 Add a secondary domain for plausible less likely to match blockers
Might change things, might not. But it's a fun experiment to try anyway.

Using a custom middleware to override the path due to https://github.com/plausible/analytics/pull/340
2020-11-25 11:11:29 +00:00
Jake Howard
367de37fab Actually disable unnecessary logging rather than change level
Also disable even more of them
2020-11-12 23:01:32 +00:00
Jake Howard
6ae8d0febe Pin plausible versions 2020-10-27 16:13:14 +00:00
Jake Howard
8932ac828f Add geoip database for plausible 2020-10-24 12:10:37 +01:00
Jake Howard
a46525aa80 Move configuration for custom port to Traefik config rather than custom container expose
Still a work-around for https://github.com/plausible/analytics/pull/237
2020-10-18 22:31:23 +01:00
Jake Howard
0a9deb3d9e Update plausible environment so it's compatible with v1
Read the changelog, folks!
2020-10-06 21:48:34 +01:00
Jake Howard
2c4e1e0414 Pin Plausible to major version 2020-10-05 18:43:12 +01:00
Jake Howard
4c40faf21d Move clickhouse off ZFS
For some reason, they really don't play well together!
2020-10-03 17:18:11 +01:00
Jake Howard
24d11deeae Update ansible-lint
Required a lot of renaming :(
2020-09-26 17:53:47 +01:00
Jake Howard
092f12459e Fix XML formatting
This caused clickhouse to crash hard!
2020-09-18 12:21:15 +01:00
Jake Howard
782b008cd3 Fix name of config so they're not constantly changed with each run of ansible
derp!
2020-09-18 12:11:44 +01:00
Jake Howard
62e629187b Clean up indent 2020-09-18 12:10:53 +01:00
Jake Howard
4ad2bdc77a Change clickhouse connection to unified variable 2020-09-17 15:18:01 +01:00
Jake Howard
2db72623ad Remove DB backups for containers on ZFS
Snapshots are a better backup
2020-09-08 20:41:47 +01:00
Jake Howard
1487915bbc Also disable thread log 2020-09-02 20:12:31 +01:00
Jake Howard
da90b12643 Modify clickhouse settings so it's not a resource whore
This means it can be moved back to ZFS!
2020-08-28 14:20:13 +01:00
Jake Howard
8a7cc5e57e Move clickhouse back to old disk
It does a stupid number of writes, and the snapshots are massive! Until i've worked out why it writes so much, move it to a less critical disk
2020-08-27 14:16:12 +01:00
Jake Howard
1f70a46c35 Add custom clickhouse config
This changes the default log level to warning, to ensure the log file isn't being hammered
2020-08-26 08:54:37 +01:00
Jake Howard
3edc34759d Mount clickhouse logs on tmpfs
WHO LOGS TRACE BY DEFAULT?!
2020-08-25 22:05:10 +01:00
Jake Howard
f531d4f915 Move plausible onto ZFS 2020-08-22 12:19:47 +01:00
Jake Howard
384a07b513 Run plausible migrations on startup 2020-08-04 22:07:45 +01:00
Jake Howard
4b7830567b Add postgres backups for plausible 2020-08-04 19:49:21 +01:00
Jake Howard
c435ad1ba8 Ensure plausible is restarted on error 2020-08-04 19:38:01 +01:00
Jake Howard
a6047da465 Use default port 2020-07-28 20:31:32 +01:00
Jake Howard
5cb1a470ab Bump plausible pool size 2020-07-26 15:40:03 +01:00
Jake Howard
3c7c0ec3fa GZIP plausible traffic
Plausible doesn't gzip for itself. Funnily enough the tracker is actually too small to be compressed by Traefik!
2020-07-22 12:18:49 +01:00
Jake Howard
9ee4e1c14b Add plausible analytics 2020-07-21 20:55:44 +01:00