From 5136f10ebf44454b7d81f65b3a83a124a7fb4ae5 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Tue, 7 Feb 2023 23:13:44 +0900 Subject: [PATCH] create project --- README.md | 1 + compose.yml | 17 +++++++++++++++++ config.toml | 9 +++++++++ renovate.json | 11 +++++++++++ 4 files changed, 38 insertions(+) create mode 100644 README.md create mode 100644 compose.yml create mode 100644 config.toml create mode 100644 renovate.json diff --git a/README.md b/README.md new file mode 100644 index 0000000..1908a48 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# relay.beta.fogtype.com diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..95f8494 --- /dev/null +++ b/compose.yml @@ -0,0 +1,17 @@ +services: + nostr: + image: scsibug/nostr-rs-relay:0.8.2 + restart: unless-stopped + networks: + - caddy + labels: + caddy: relay.beta.fogtype.com + caddy.reverse_proxy: "{{upstreams 8080}}" + volumes: + - nostr_data:/usr/src/app/db + - ./config.toml:/usr/src/app/config.toml:ro +networks: + caddy: + external: true +volumes: + nostr_data: diff --git a/config.toml b/config.toml new file mode 100644 index 0000000..4b4126d --- /dev/null +++ b/config.toml @@ -0,0 +1,9 @@ +[info] +name = "Fogtype Relay (beta)" +pubkey = "c90a759ab3bc4006f1fe5684a1a0278b41e868580932ad67760f3e52db6112d0" +relay_url = "wss://relay.beta.fogtype.com" + +[authorization] +pubkey_whitelist = [ + "c90a759ab3bc4006f1fe5684a1a0278b41e868580932ad67760f3e52db6112d0", +] diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..98b435a --- /dev/null +++ b/renovate.json @@ -0,0 +1,11 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:base", + ":automergeAll", + ":automergeBranch", + ":skipStatusChecks", + "docker:enableMajor", + "docker:pinDigests" + ] +}