Commit graph

117 commits

Author SHA1 Message Date
James Kinsman
d01c26ae0d
Merge pull request #183 from Sweeny42/master
Configure NGINX to listen on port 80 for IPv6

This has been the subject of some contention for some time due to the increased support work load for the lancache.net team as a result of ipv6 mis-configuration. Having discussed this we're happy to enable the support at monolithic level, but will NOT be adding this to the instructions / dns container at this time
2024-07-08 12:39:05 +01:00
James Kinsman
4720121d60
Merge pull request #181 from HTX-LAN/master
Expose metrics from NGINX and Bind to Prometheus
2024-07-08 12:34:17 +01:00
James Kinsman
cefa01356b
Merge pull request #191 from tpill90/MinFreeSpace
Add support for `min_free` parameter
2024-07-08 12:30:04 +01:00
Tim Pilius
855f9f8a48 Changing the default minimum free disk to 10g 2024-05-28 22:07:56 -04:00
Tim Pilius
fcba4f8056 Adding support for the new min_free parameter, so that nginx will automatically prune files once the minimum free space has been exceeded. 2024-05-06 16:19:25 -04:00
Sweeny
e693f4d3ce
Allow NGINX to bind IPv6 address on port 80
Configure NGINX to listen on port 80 for IPv6 addresses as well as IPv4
2023-11-14 21:06:23 +00:00
Mikkel Albrechtsem
9caabde382 Added missing expose of metrics port in dockerfile
Co-authored-by: William Bergmann Børresen <ninkaninus@users.noreply.github.com>
2023-10-29 00:00:57 +02:00
The0Mikkel
8a17ded5c3 Added NGINX metrics endpoint in seperate site
Co-authored-by: William Bergmann Børresen <ninkaninus@users.noreply.github.com>
2023-10-28 18:08:28 +00:00
VibroAxe
8392ba6613 Merge pull request #172 from njaloo/monolithic
This script build the monolithic image locally,
from the github source. It's intended for cases like the raspberry pi,
which operates on arm64 architecture, which isn't available as an image.

Closes #171
2023-07-24 09:04:55 +00:00
VibroAxe
a8f810c764 Fixed local build script
Build source images instead of pull from docker hub
Build monolithic from local repo
2023-07-24 08:40:16 +00:00
njalooo
f76e531ee1 Typo fix by rodikal for build-locally.sh
Co-authored-by: Samuel Van Reeth <samuelvanreeth@gmail.com>
2023-07-24 08:40:16 +00:00
njalooo
b92c25bdf0 Typo fix by rodikal for build-locally.sh
Co-authored-by: Samuel Van Reeth <samuelvanreeth@gmail.com>
2023-07-24 08:40:16 +00:00
njalooo
868f3d0a40 Synthax error fix by rodikal for build-locally.sh
Co-authored-by: Samuel Van Reeth <samuelvanreeth@gmail.com>
2023-07-24 08:40:16 +00:00
njalooo
cb59a91f90 Synthax error fix by rodikal for build-locally.sh
Co-authored-by: Samuel Van Reeth <samuelvanreeth@gmail.com>
2023-07-24 08:40:16 +00:00
njalooo
157b3a0733 Added check for existing Ubuntu base image 2023-07-24 08:40:16 +00:00
njalooo
88112c3a99 Create build-locally.sh
This script build the monolithic image locally, from the githubs pages. It's intended for cases like the raspberry pi, which operates on arm64 architecture, which isn't available as an image.
See https://github.com/lancachenet/monolithic/issues/171.
2023-07-24 08:40:16 +00:00
James Kinsman
aba04fc0ab
Merge pull request #167 from sfinke0/master
Implement additional log format: json access logs
2023-05-04 18:10:43 +01:00
sfinke0
b2a30145cb Implement additional log format: json access logs 2023-02-26 14:20:53 +01:00
James Kinsman
a45516468d
Addition of upstream proxy to resolve slice redirect errors (302 Playstation) (#156)
Addition of Upstream proxy from #60 to test 302 cache impact on PS5
caching
Refactored upstream proxy into lancache standard structure.
Simplified both location blocks into a single file rather than further
delegated folders
Fixed spacing & indents
2022-11-12 12:10:20 +00:00
James Kinsman
de46e47292
Merge pull request #151 from koenvdheuvel/master
Dockerfile: Change CACHE_DISK_SIZE to be in gigabyte (g)
2022-09-26 17:00:28 +01:00
Koen van den Heuvel
4883d1f8e5 Dockerfile: Change CACHE_DISK_SIZE to be in gigabyte (g) 2022-09-10 21:04:09 +02:00
James Kinsman
f67cd7cfcf
Update 90_lancache_heartbeat.conf
Respond to heartbeat with Clacks
2022-06-28 13:39:01 +01:00
James Kinsman
0813b0d54e
Rename overlay/etc/nginx/sites-available/cache.conf.d/99_gnu.conf to overlay/etc/nginx/sites-available/cache.conf.d/root/99_gnu.conf 2022-06-28 13:38:19 +01:00
Jessica Smith
0c851b1453
Merge pull request #149 from lancachenet/VibroAxe-patch-1
In loving memory of Zoey "Crabbey" Lough.
2022-06-28 12:58:09 +01:00
James Kinsman
35cc935f0b
Update config.yml
Update circleci to ubuntu 20.04
2022-06-28 12:51:48 +01:00
James Kinsman
0164bbbeb9
Update 99_gnu.conf 2022-06-28 12:47:14 +01:00
James Kinsman
4ccc7a4e32
Create 99_gnu.conf 2022-06-28 12:45:31 +01:00
James Kinsman
09ef3314e2
Update 00_deprecation.sh
Invert logic for cache_mem_size deprecation check
2022-03-07 08:47:00 +00:00
James Kinsman
83d9ffdcae
Update names and dates on license 2022-03-06 11:02:10 +00:00
James Kinsman
364ebbe1e8
Fixed CACHE_MEM_SIZE regression error
sh doesn't know how to process [[ if's so CACHE_MEM regression tests are not run

Ooops, don't drink and code kids
2022-03-05 10:55:02 +00:00
Jessica Smith
5985081ed6
Update name on License. 2021-11-29 19:40:37 +00:00
Proto
e9f90f438f
Inactive to match CACHE_MAX_AGE (#139)
* Set innactive time to match the CACHE_MAX_AGE env var
* setup script copy for max age
2021-11-01 12:18:59 +00:00
James Kinsman
72aef31a82
Merge pull request #133 from lancachenet/switcheroo
Rebasing generic off monolithic

Includes 
https://github.com/lancachenet/generic/pull/103
https://github.com/lancachenet/generic/pull/93
https://github.com/lancachenet/generic/pull/113
https://github.com/lancachenet/generic/issues/108

Thanks to @crabbey @zerotacg @csm10495 and @Candunc
2021-10-09 13:01:39 +01:00
VibroAxe
3f5d8c53ce Update build hierarchy
Build generic from monolithic
2021-10-09 11:56:40 +00:00
VibroAxe
51753881f9 Switch to using proxy_cache_lock_age
This allows us to cache the response in the event a file hasn't been downloaded yet
Set to 2m as a really long time to download a single 1m slice from upstream

Based on thoughts from https://github.com/lancachenet/generic/pull/113
2021-10-09 11:07:12 +00:00
VibroAxe
2fa012f667 Ported CACHE_INDEX_SIZE PR from generic
Ported PR https://github.com/lancachenet/generic/pull/103/ from @crabbey
Changes CACHE_MEM_SIZE to CACHE_INDEX_SIZE but maintains backwards compatiblity through deprecation.sh
2021-10-09 10:24:38 +00:00
James Kinsman
425a75c7da
Apply suggestions from code review
Thanks @gotenxiao

Co-authored-by: GotenXiao <gotenxiao@gmail.com>
2021-10-09 00:11:15 +01:00
VibroAxe
d77cfdc601 Exclude steam server status from caching
Implements lancachenet/generic#93 as this is no longer a valid comit after switcheroo
2021-07-20 13:35:05 +00:00
VibroAxe
faa6b3969d Rebase generic off monolithic
This commit rebases the generic code into the monolithic image
This allows the base image to be the more regularly accessed / edited image

Commits to lancachenet/generic:switcheroo will mimic this commit

Also fixes lancachenet/generic#108
2021-07-20 12:04:38 +00:00
James Kinsman
dc61a36471
Create stale.yml 2021-01-15 14:01:46 +00:00
James Kinsman
ab95f3cf66
Merge pull request #105 from lancachenet/Shallow-clone
Fix shallow clone & update to use latest downstream stream images
2020-11-13 15:30:46 +00:00
James Kinsman
b3bb2205d3
Fix shallow clone
Shallow clone to the right directory.
2020-02-28 08:05:56 +00:00
unspec
db85960b0e
Update README.md 2020-02-24 12:36:36 +00:00
unspec
c956338294
Update README.md 2020-02-24 12:35:27 +00:00
James Kinsman
3505a6056b
Merge pull request #103 from lancachenet/cache-mode-addition
Update dockerfile to include CACHE_MODE
2020-02-24 12:34:42 +00:00
unspec
bde39fcd0a
Merge pull request #102 from lancachenet/update-documentation
Linking to new website / documentation and removing old material
2020-02-24 12:31:09 +00:00
James Kinsman
ac5ba06e65 Update dockerfile to include CACHE_MODE 2020-02-24 12:28:51 +00:00
unspec
6d56c27314
Merge pull request #100 from adamradocz/patch-1
Remove duplicated ENV assignment
2020-02-24 00:35:46 +00:00
unspecified
cb69718326 Linking to new website / documentation and removing old material 2020-02-23 23:33:18 +00:00
James Kinsman
c81b8e6545
Fix vibs dun goof
CD Into the git repo not popd out
2020-02-23 14:23:30 +00:00