Commit graph

97 commits

Author SHA1 Message Date
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
James Kinsman
71ad35816c
Merge pull request #101 from lancachenet/Offline-dns-fix
Fixed offline startup
2020-02-23 14:05:42 +00:00
James Kinsman
c5c444a32c
Add shallow clone of cache-domains
Added shallow clone to allow for offline startup
2020-02-23 14:03:02 +00:00
James Kinsman
67e4bef59f
Fixed offline startup
Aligned to lancache-dns
2020-02-23 14:01:08 +00:00
James Kinsman
75f3bc45e4
Update README.md 2020-02-23 13:08:04 +00:00
James Kinsman
735568be66
Update README.md 2020-02-23 13:07:17 +00:00
James Kinsman
599ecfe28d
Merge pull request #99 from lancachenet/Lepidopterist-faq-systemdresolved
Update faq.md with Goten's mini howto for systemd-resolved
2020-02-16 17:01:24 +00:00
Adam Radocz
d41a798dcb
Remove duplicated ENV assignment 2020-02-14 18:12:36 +01:00
Barry Zubel
319abc80e1
Update faq.md with Goten's mini howto for systemd-resolved
@GotenXiao I nabbed this from the discussion the other day.  It feels worthy of being in the FAQ for mono?
2020-02-12 19:06:40 +00:00
James Kinsman
eb434e9d56
Update goss.yaml
Fixe for generic/99 moving steamcache-heartbeat to lancache-heartbeat
2020-02-11 16:55:34 +00:00
James Kinsman
f013ac0958
Change maps to allow user agent mapping too (#87)
Correclty disable StrictHostKeyChecking whilst we are at it!
map "$http_useragent---$http_host" $cacheidentifier {
Hostnames in maps file need to be regexs
Save the docker image into the artifacts store to allow download for testing
Need to handle *. wildcard
Use # instead of / as regex/sed seperator to provide a slightly cleaner sed line for debug
Provide comments and breakdown for sed (Requested by @GotenXiao
Changed UA/Host seperator from --- to £££ @rconan suggestion from UKLans chat

Closes #86 See github for details
2020-02-11 15:32:09 +00:00
Barry Zubel
1e15d97551
Merge pull request #73 from lancachenet/env_cache_domains_branch
Updated env vars to allow specifying branch
2019-12-02 11:38:31 +00:00
VibroAxe
fcf7468606 Fixed duplicate BRANCH in Dockerfile 2019-12-02 11:36:20 +00:00
James Kinsman
0a126dda2d
Merge pull request #71 from russellwilson01/patch-1
Update README.md
2019-12-02 11:28:35 +00:00
VibroAxe
42600bd00d Inverted deprecation check 2019-12-02 11:26:37 +00:00
VibroAxe
bf361ef18b Updated env vars to allow specifying branch
Also fixed CACHE_DOMAIN_REPO to CACHE_DOMAINS_REPO to align with DNS
better
2019-12-02 11:04:26 +00:00
James Kinsman
4424b30e8c
Merge pull request #72 from Lepidopterist/master
Add clarification to README.md on CACHE_MEM_SIZE and the cache manager process
2019-11-28 14:23:38 +00:00
Barry Zubel
21ae50c687 Add clarification to README.md on CACHE_MEM_SIZE and the cache manager memory usage 2019-11-28 12:32:18 +00:00
russellwilson01
9f3273d21c
Update README.md
Fix syntax;

-e CACHE_MEM_SIZE=4000m -e CACHE_DISK_SIZE=1000g -e CACHE_MAX_AGE 3560d

-e CACHE_MEM_SIZE=4000m -e CACHE_DISK_SIZE=1000g -e CACHE_MAX_AGE=3560d
2019-11-19 10:20:08 +00:00
James Kinsman
233ef5e603
Update config.yml
Disabled docker layer caching for publish_latest
2019-11-04 13:19:22 +00:00
James Kinsman
89db8eda79
Update config.yml
Disabled docker layer caching
2019-11-04 13:15:18 +00:00