umbrel-apps/nostr-relay/docker-compose.yml
2024-03-17 19:39:36 -07:00

39 lines
1.1 KiB
YAML

version: "3.7"
services:
app_proxy:
environment:
APP_HOST: nostr-relay_web_1
APP_PORT: 3000
PROXY_AUTH_ADD: "false"
web:
image: getumbrel/umbrel-nostr-relay:v1.1.0@sha256:21b67ab2e9d30b20e785497f19534e8e21b6da1bfe69e3ae5afe91b759f20488
user: "1000:1000"
restart: on-failure
environment:
RELAY_HOST: "nostr-relay_relay_1"
RELAY_PORT: "8080"
RELAY_PROXY_HOST: "nostr-relay_relay-proxy_1"
RELAY_PROXY_PORT: "80"
relay:
image: getumbrel/nostr-rs-relay:0.8.1@sha256:a6c857aecd4964bf058ec5c3c0fea95e0d87ed0cc789f2140f96de108e5515ec
user: "1000:1000"
restart: on-failure
volumes:
- ${APP_DATA_DIR}/data/relay/config.toml:/app/config.toml
- ${APP_DATA_DIR}/data/relay/db:/app/db
relay-proxy:
image: getumbrel/umbrel-nostr-relay-proxy:v1.1.0@sha256:6b335f4488f813475bb7c9d3bb6282fda081808e2d5447404fc8a1ffcc1279dc
user: "1000:1000"
restart: on-failure
environment:
RELAY_HOST: "nostr-relay_relay_1"
RELAY_PORT: "8080"
volumes:
- ${APP_DATA_DIR}/data/relay-proxy:/app/data
depends_on:
- relay