Server to manage and dynamically add/remove .well-known entries.
Find a file
2024-08-14 00:09:11 -04:00
config replace redis with postgres 2024-08-10 23:45:26 -04:00
db replace redis with postgres 2024-08-10 23:45:26 -04:00
matrix chore: proper 404s 2024-08-11 00:03:19 -04:00
migrations replace redis with postgres 2024-08-10 23:45:26 -04:00
nostr feat: add nostr relay for registered users 2024-08-14 00:09:11 -04:00
.gitignore replace redis with postgres 2024-08-10 23:45:26 -04:00
go.mod feat: add nostr relay for registered users 2024-08-14 00:09:11 -04:00
go.sum feat: add nostr relay for registered users 2024-08-14 00:09:11 -04:00
LICENSE Initial commit 2023-01-25 04:46:23 +00:00
main.go feat: add nostr relay for registered users 2024-08-14 00:09:11 -04:00
README.md replace redis with postgres 2024-08-10 23:45:26 -04:00
sample.env replace redis with postgres 2024-08-10 23:45:26 -04:00

well-goknown

Server to manage and dynamically add/remove .well-known entries. Requires postgres 15+

Pre-requisites

apt install podman
podman pull docker.io/library/postgres:15
podman run -e POSTGRES_PASSWORD=x -p 5432:5432 --name wg-psql docker.io/library/postgres:15

# setup postgres
PGPASSWORD=x psql -d postgres -U postgres -h 127.0.0.1 << EOF
CREATE DATABASE wgk;
CREATE USER wgk WITH ENCRYPTED PASSWORD 'x';
GRANT ALL PRIVILEGES ON DATABASE wgk TO wgk;
ALTER DATABASE wgk OWNER TO wgk;
EOF