77 Commits

Author SHA1 Message Date
Barry Deen
3f3e42267e bloom filters, reduced logging 2024-09-07 13:21:22 -04:00
fsociety
3f38d91de6 docs: remove ENABLE_CLEARNET option from README.md 2024-09-07 17:14:06 +02:00
fsociety
3698089a8f feat: remove clearnet option from application configuration
This commit removes the ENABLE_CLEARNET option from the .env.example file and the docker-compose.tor.yml file. The application will now only use the default port 3334.
2024-09-07 17:05:30 +02:00
fsociety
4dc6cab618 feat: add optional Tor support with clearnet toggle
Added support for optionally running the wot-relay service as a Tor hidden service. Updated the docker-compose.tor.yml file to conditionally enable clearnet access, based on the `ENABLE_CLEARNET` environment variable. Updated the README.md file with instructions on how to use this feature.
2024-09-07 16:53:07 +02:00
fsociety
6372f55a7b feat: add Tor support for relay service
Add Tor support for the relay service in the docker-compose file. Also, rename the service from `wot-relay` to `relay`. Add a new `torrc` configuration file and a `.gitignore` file in the `tor/data` directory to prevent sensitive data from being tracked. Also, create a new `docker-compose.tor.yml` file for Tor-specific configurations.
2024-09-07 16:37:58 +02:00
fsociety
8458b2a10f feat: add .dockerignore file to wot-relay repository 2024-09-07 16:08:53 +02:00
fsociety
ca8dde54f1 feat: update Dockerfile, docker-compose and README for better Docker usage
This commit updates the Dockerfile to use a more docker-friendly approach. Instead of cloning the repository inside the Dockerfile, it now copies the files from the host. It also sets some fixed environment variables and uses a .env file for the rest.

The docker-compose.yml file now uses an .env file for more convenient environment variable management. It also maps volumes to the host, allowing you to change the paths of the `db` folder and `templates` folder.

The README.md has been updated with new instructions reflecting these changes. It now includes instructions for running the Docker container in the foreground or background, and for updating the relay.
2024-09-07 15:57:21 +02:00
fiatjaf_
e38dcc71ba
don't fail when a .env file is not present
still try to read it but let people use other ways to set up their environment variables.
2024-09-07 07:10:01 -03:00
Barry Deen
060fd68c85
Merge pull request #1 from HolgerHatGarKeineNode/master
Add Docker Compose Startup Instructions
v0.0.1
2024-09-06 19:55:06 -04:00
Barry Deen
e47aa19fa4 why crash 2024-09-06 19:38:39 -04:00
Barry Deen
bd451386dc absolute paths 2024-09-06 19:33:29 -04:00
Barry Deen
f3ed790a96 fix example and path 2024-09-06 19:26:42 -04:00
Barry Deen
dc631d17b6 home page and favico 2024-09-06 19:25:40 -04:00
Barry Deen
b68cdeffba fix archiving 2024-09-06 17:39:39 -04:00
Barry Deen
797c3d89b4 fix archiving 2024-09-06 17:15:39 -04:00
Barry Deen
b762c1c974 increase timeout length 2024-09-06 16:33:04 -04:00
Barry Deen
cc54cb5464 fix contact list bug, mutex race conditions, refresh trust 2024-09-06 16:26:00 -04:00
Barry Deen
e2b9fbc323 fix race conditions 2024-09-06 14:06:32 -04:00
HolgerHatGarKeineNode
86bad8e693
Update README.md 2024-09-06 17:55:21 +00:00
HolgerHatGarKeineNode
aea9956bc0
Update README.md 2024-09-06 17:54:55 +00:00
HolgerHatGarKeineNode
3877f9456c
Update README.md
Update README.md with Docker Compose startup instructions
2024-09-06 17:52:49 +00:00
HolgerHatGarKeineNode
338442006b
Add Dockerfile and Docker Compose for wot-relay setup
Introduced a Dockerfile to build the wot-relay application using the Golang image based on Debian Bookworm.

Configured the working directory, cloned the repository, downloaded Go module dependencies, set environment variables, and built the Go application.

Exposed port 3334 and set the command to run the executable.

Added a Docker Compose file for streamlined service deployment, including environment variable configurations, volume binding for the database directory, and port mapping.
2024-09-06 17:49:30 +00:00
Barry Deen
61554badfc refresh every 10 mins 2024-09-06 13:30:29 -04:00
Barry Deen
afd0f8f566 get profile metadata 2024-09-06 13:24:33 -04:00
Barry Deen
b901d5f562 add text note 2024-09-06 12:14:50 -04:00
Barry Deen
c75394a44f update readme 2024-09-06 11:17:31 -04:00
Barry Deen
5135dd4874 init wot relay 2024-09-06 11:16:40 -04:00