Commit Graph

55 Commits

Author SHA1 Message Date
Barry Deen
a8dcf91e4c Merge pull request #24 from aaccioly-open-source/fix/docker-remove-dbin-mount-bind
Docker: remove /app/haven bind mount
2024-09-27 18:04:27 -04:00
Anthony Accioly
a97d53268e Docker: remove /app/haven bind mount
The dockerfile already builds haven as /app/main
2024-09-27 09:52:16 +01:00
Barry Deen
6f6ab34214 Merge pull request #23 from bitvora/dev-fixPanic
fix routing panic
2024-09-26 22:29:53 -04:00
Barry Deen
40da0d2251 fix routing panic 2024-09-26 22:29:33 -04:00
Barry Deen
6d15bacb01 Merge pull request #22 from bitvora/dev-fixStatic
avoid collisions in url
2024-09-26 21:27:26 -04:00
Barry Deen
d7192fc1e4 avoid collisions in url 2024-09-26 21:27:02 -04:00
Barry Deen
305c73ccb6 Merge pull request #21 from bitvora/dev-fixStatic
remove reference to static
2024-09-26 21:09:43 -04:00
Barry Deen
c0082d4b27 remove reference to static 2024-09-26 21:09:24 -04:00
Barry Deen
f08eeed6e7 Merge pull request #20 from bitvora/dev-fixStupidDocker
fix stupid docker even though i hate it
2024-09-26 20:58:49 -04:00
Barry Deen
739affa180 add a docker bin 2024-09-26 20:51:54 -04:00
Barry Deen
48981b729f fix stupid folder name 2024-09-26 20:45:45 -04:00
Barry Deen
54d8dd767f Merge pull request #19 from bitvora/dev-dbSwapper
ability to pick badger or lmdb
2024-09-26 20:32:38 -04:00
Barry Deen
e316af3578 ability to pick badger or lmdb 2024-09-26 20:31:30 -04:00
Barry Deen
ba04aa17f2 Merge pull request #17 from bitvora/dev-fixLazySubscription
only get notes since 5 minuts ago when subscribing to inbox
2024-09-26 19:14:49 -04:00
Barry Deen
991d3d0410 only get notes since 5 minuts ago when subscribing to inbox 2024-09-26 19:14:34 -04:00
Barry Deen
f3eced1e07 Merge pull request #16 from bitvora/dev-staticBugFix
remove duplicate static handler declarations
2024-09-26 19:07:52 -04:00
Barry Deen
b46172b255 remove duplicate static handler declarations 2024-09-26 19:07:32 -04:00
Barry Deen
c4aea69962 Merge pull request #14 from aaccioly-open-source/feature/docker-nginx-ssl
New Docker compose with Nginx + SSL Support
2024-09-26 14:10:16 -04:00
Anthony Accioly
b509d99d22 Add Docker Compose for HTTPS support
* Use nginx-proxy and acme-companion
* Automated creation and renewal of Let's Encrypt certificates
* Automated reload of Nginx config upon certificate creation/renewal
* Achieves an A+ on the Qualys SSL Test
* Separate docker-gen container to avoid exposing docker.sock
2024-09-26 18:49:57 +01:00
Anthony Accioly
1e2ea465b2 Ignore .DS_Store (macOS) and .idea files (GoLand) 2024-09-26 18:36:30 +01:00
Barry Deen
3553d2ecdc Merge pull request #13 from derekross/master
fix: update private url
2024-09-25 16:04:01 -04:00
Derek Ross
d0be8d2dab fix: update private url 2024-09-25 14:17:53 -04:00
Barry Deen
b7d4b820e0 Merge pull request #12 from bitvora/dev-rateLimits
Rate Limiter, Public Pages
2024-09-25 13:58:01 -04:00
Barry Deen
b268b1e2a4 example with rate limits 2024-09-25 13:52:04 -04:00
Barry Deen
163e5a6583 ignore binary 2024-09-25 13:45:45 -04:00
Barry Deen
0d3cc0b232 public pages, rate limiters 2024-09-25 13:43:21 -04:00
Barry Deen
b53bb285e2 revert all this was a horrible idea 2024-09-24 14:43:56 -04:00
Barry Deen
f006fbedf5 revert timeout remove sleep 2024-09-24 14:37:37 -04:00
Barry Deen
1466539841 speed up import 2024-09-24 14:35:34 -04:00
Barry Deen
7776f96b3f speed up tagged import since it's way less notes 2024-09-24 14:30:51 -04:00
fiatjaf
9b91283e81 use lmdb instead of badger. 2024-09-24 15:24:54 -03:00
Barry Deen
5d323fce01 remove temp service url 2024-09-24 11:34:41 -04:00
fiatjaf
281b881144 use a single pool, refresh pubkeys dynamically, humbler blastr. 2024-09-24 11:17:47 -03:00
Barry Deen
bfa670b8b1 update readme, delete haven folder 2024-09-23 16:30:25 -04:00
Barry Deen
7a2b23ce7d Merge pull request #3 from bitvora/dev-oomFixAttempt
put blastr in goroutines to prevent oom
2024-09-23 16:25:46 -04:00
Barry Deen
077a7cf2e2 put blastr in goroutines to prevent oom 2024-09-23 16:25:27 -04:00
Barry Deen
7f654bbd14 Merge pull request #2 from HolgerHatGarKeineNode/master
feat: add example JSON files for relay imports
2024-09-23 16:24:18 -04:00
fsociety
8def459e3f feat: add example JSON files for relay imports 2024-09-23 22:14:35 +02:00
Barry Deen
7e01a8f485 Merge pull request #1 from HolgerHatGarKeineNode/master
feat: Add Docker support and JSON file support
2024-09-23 16:12:33 -04:00
fsociety
f05e3a4afb docs: update filename in README instructions 2024-09-23 22:11:11 +02:00
fsociety
8f896f9969 feat: update .gitignore and README files
This commit updates the .gitignore file to ignore the actual json files rather than the example ones. It also updates the README file to include instructions on copying the new json files.
2024-09-23 22:09:31 +02:00
fsociety
7d0af1ed78 feat: Add support for custom relay files
Previously, the only way to specify relays for import and blastr was to list them directly in the .env file. This commit introduces the ability to specify a file path for the relays instead. Two example JSON files have been added to the .gitignore, and instructions for using them have been added to the README. This feature provides a more flexible and scalable way to manage relays.
2024-09-23 22:05:20 +02:00
Barry Deen
c101295ebd fix bad var name 2024-09-23 15:21:43 -04:00
fsociety
c19cebe537 feat: add support for relay list from json file
This commit adds the ability to specify relay lists in a json file for both import and blastr settings. This provides more flexibility in configuring the application. It also includes error handling for reading and parsing the json file.
2024-09-23 21:10:47 +02:00
Barry Deen
446dd00ba9 set relay service urls 2024-09-23 15:01:37 -04:00
fsociety
11401b7a75 feat: Add Docker support and update README
This commit introduces Docker support to the project. It includes Dockerfile, docker-compose.yml, and docker-compose.tor.yml for running the application in a Docker container and setting up a Tor hidden service. It also updates the README to include instructions for using Docker.

Additionally, it makes adjustments to .env.example and .gitignore files for better Docker compatibility.
2024-09-23 20:12:39 +02:00
Barry Deen
4793abf3ed inbox import uses WoT 2024-09-23 12:56:04 -04:00
Barry Deen
f27d2c1957 discard bad notes sent by relays 2024-09-23 12:21:27 -04:00
Barry Deen
93b8466c08 backup to s3, backup intervals 2024-09-23 12:14:21 -04:00
Barry Deen
c561e3dde5 remove reject connection 2024-09-23 09:55:09 -04:00